Skip to content

Commit

Permalink
xfails
Browse files Browse the repository at this point in the history
  • Loading branch information
austingmhuang committed Aug 27, 2024
1 parent de265bb commit 9a775f5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_base_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,9 @@ def test_estimator_with_different_pauli_obs(self, mocker, wire, angle, op, expec
],
)
@flaky(max_runs=10, min_passes=7)
@pytest.mark.xfail(
reason="Qiskit variances is different from PennyLane variances, discussion pending on resolution"
)
def test_estimator_with_various_multi_qubit_pauli_obs(
self, mocker, wire, angle, op, multi_q_obs
):
Expand All @@ -1090,8 +1093,8 @@ def test_estimator_with_various_multi_qubit_pauli_obs(
correspond correctly (wire ordering convention in Qiskit and PennyLane don't match.)
"""

pl_dev = qml.device("default.qubit", wires=[0, 1, 2, 3])
dev = QiskitDevice(wires=[0, 1, 2, 3], backend=aer_backend)
pl_dev = qml.device("default.qubit", wires=4)
dev = QiskitDevice(wires=4, backend=aer_backend)

sampler_execute = mocker.spy(dev, "_execute_sampler")
estimator_execute = mocker.spy(dev, "_execute_estimator")
Expand Down

0 comments on commit 9a775f5

Please sign in to comment.