Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid state vector normalization if it worsens the round offs
This fixes failure of check/pytest -n0 cirq-core/cirq/circuits/circuit_test.py::test_final_state_vector which happened because normalization of a state vector at `np.complex64` precision can subtly increase the overall round-off error. Follow up to #6522 and #6402
- Loading branch information