diff --git a/src/qstabilizerhybrid.cpp b/src/qstabilizerhybrid.cpp index fcb4b0485..8f5771a99 100644 --- a/src/qstabilizerhybrid.cpp +++ b/src/qstabilizerhybrid.cpp @@ -1757,7 +1757,7 @@ void QStabilizerHybrid::CombineAncillae() } } else if ((ONE_R1 / 2 - clone->Prob(j)) <= FP_NORM_EPSILON) { clone = std::dynamic_pointer_cast(stabilizer->Clone()); - clone->ForceM(i, false); + clone->ForceM(i, true); if (clone->Prob(j) <= FP_NORM_EPSILON) { toCombineAdj[i] = j; break;