diff --git a/tests/test_gates_gates.py b/tests/test_gates_gates.py index 80a3c6ecd6..d407e72e9e 100644 --- a/tests/test_gates_gates.py +++ b/tests/test_gates_gates.py @@ -686,7 +686,7 @@ def test_cun(backend, name, params): if name in ["CRX", "CRY", "CRZ"]: theta = params["theta"] - if (theta % np.pi).is_integer(): + if (theta % (np.pi / 2)).is_integer(): assert gate.clifford else: assert not gate.clifford