Skip to content

Commit

Permalink
Remove test for condition that was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
bdg221 committed Sep 26, 2024
1 parent 4225339 commit 6a6fa13
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions mitiq/executor/tests/test_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
)
Expand Down

0 comments on commit 6a6fa13

Please sign in to comment.