Skip to content

Commit

Permalink
use random_clifford in the multi-qubit projection test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fe-r-oz committed Nov 8, 2024
1 parent 6966d11 commit 8dce951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_nonclifford_quantumoptics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ end
s = random_stabilizer(n)
p = random_pauli(n)
gs = GeneralizedStabilizer(s)
apply!(gs, p)
apply!(gs, random_clifford(n))
qo_state = Operator(gs)
projectrand!(gs, p)[1]
qo_state_after_proj = Operator(gs)
Expand Down

0 comments on commit 8dce951

Please sign in to comment.