Skip to content

Commit

Permalink
Update tests/devices/qubit/test_measure.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pietropaolo Frisoni <pietropaolo.frisoni@xanadu.ai>
  • Loading branch information
astralcai and PietropaoloFrisoni authored Sep 19, 2024
1 parent 3954d73 commit 1f9832f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/devices/qubit/test_measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_hamiltonian_with_multi_wire_obs(self):
assert get_measurement_function(qml.expval(S), state) is sum_of_terms_method

def test_no_sparse_matrix(self):
"""Tests that Hamiltonians/Sums containing observables that does not have sparse matrix."""
"""Tests Hamiltonians/Sums containing observables that do not have a sparse matrix."""

class DummyOp(qml.operation.Operator): # pylint: disable=too-few-public-methods
num_wires = 1
Expand Down

0 comments on commit 1f9832f

Please sign in to comment.