From a36421abad019e60f1c2b799c4d641c1e4d5e009 Mon Sep 17 00:00:00 2001 From: WrathfulSpatula Date: Sun, 9 Mar 2025 16:58:52 -0400 Subject: [PATCH] Helpful comment --- src/qstabilizerhybrid.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qstabilizerhybrid.cpp b/src/qstabilizerhybrid.cpp index 065ce6fec..0f1329e4a 100644 --- a/src/qstabilizerhybrid.cpp +++ b/src/qstabilizerhybrid.cpp @@ -191,6 +191,7 @@ void QStabilizerHybrid::FlushIfBlocked(bitLenInt control, bitLenInt target, bool return; } // The gate payload is definitely not a phase gate. + // Since the blocked gate does not commute, we must flush. // This is the new case we can handle with the "reverse gadget" for t-injection in this PRX Quantum article, in // Appendix A: https://journals.aps.org/prxquantum/abstract/10.1103/PRXQuantum.3.020361 // Hakop Pashayan, Oliver Reardon-Smith, Kamil Korzekwa, and Stephen D. Bartlett