From 6a6fa13a8699d94fd6f65dba8cfe86b875141046 Mon Sep 17 00:00:00 2001 From: bdg221 Date: Thu, 26 Sep 2024 09:46:55 -0700 Subject: [PATCH] Remove test for condition that was removed --- mitiq/executor/tests/test_executor.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/mitiq/executor/tests/test_executor.py b/mitiq/executor/tests/test_executor.py index f38006d03e..049e64916f 100644 --- a/mitiq/executor/tests/test_executor.py +++ b/mitiq/executor/tests/test_executor.py @@ -234,16 +234,6 @@ def test_executor_evaluate_float(execute): PauliString("Z"), ], ) -def test_executor_observable_compatibility_check(execute, obs): - q = cirq.LineQubit(0) - circuits = [cirq.Circuit(cirq.X(q)), cirq.Circuit(cirq.H(q), cirq.Z(q))] - - executor = Executor(execute) - - with pytest.raises(ValueError, match="are not compatible"): - executor.evaluate(circuits, obs) - - @pytest.mark.parametrize( "execute", [executor_measurements, executor_measurements_batched] )