Skip to content

Commit

Permalink
Debug CombineAncillae()
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Jul 14, 2023
1 parent 25b4b6e commit acaa0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qstabilizerhybrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ void QStabilizerHybrid::CombineAncillae()
}
} else if ((ONE_R1 / 2 - clone->Prob(j)) <= FP_NORM_EPSILON) {
clone = std::dynamic_pointer_cast<QUnitClifford>(stabilizer->Clone());
clone->ForceM(i, false);
clone->ForceM(i, true);
if (clone->Prob(j) <= FP_NORM_EPSILON) {
toCombineAdj[i] = j;
break;
Expand Down

0 comments on commit acaa0e7

Please sign in to comment.