Skip to content

Commit 50f7a60

Browse files
the last flattening of the circuit does not seem to affect the outcome
1 parent 4f36ece commit 50f7a60

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/algorithms/StatePreparation.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ auto createStatePreparationCircuit(
281281
gatesToUncompute(amplitudes, numQubits, EPS);
282282

283283
// invert circuit
284-
CircuitOptimizer::flattenOperations(toZeroCircuit);
285284
toZeroCircuit.invert();
286285

287286
return toZeroCircuit;

0 commit comments

Comments
 (0)