Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
obliviateandsurrender committed Jul 9, 2024
1 parent 7035492 commit 3eb56e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_noise_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_build_qerror_op(self, qiskit_error, pl_channel):
assert qml.equal(pl_op_from_qiskit, pl_channel)
else:
assert isinstance(pl_op_from_qiskit, type(pl_channel))
assert all([x1 == x2 for x1, x2 in zip(pl_op_from_qiskit.data, pl_channel.data)])
assert all(x1 == x2 for x1, x2 in zip(pl_op_from_qiskit.data, pl_channel.data))

@pytest.mark.parametrize(
"qiskit_error, pl_channel",
Expand Down

0 comments on commit 3eb56e0

Please sign in to comment.