We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa57be5 commit c8f7ed7Copy full SHA for c8f7ed7
cirq-core/cirq/sim/clifford/clifford_simulator_test.py
@@ -326,7 +326,7 @@ def test_clifford_circuit_SHSYSHS():
326
327
# workaround until #6402 is resolved.
328
final_state_vector = state_vector_simulator.simulate(circuit).final_state_vector
329
- final_state_vector /= np.sqrt(np.linalg.norm(final_state_vector))
+ final_state_vector /= np.linalg.norm(final_state_vector)
330
np.testing.assert_almost_equal(
331
clifford_simulator.simulate(circuit).final_state.state_vector(), final_state_vector
332
)
0 commit comments