Skip to content

Commit

Permalink
Update tests/templates/test_state_preparations/test_basis_state_prep.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KetpuntoG committed Sep 13, 2024
1 parent a3d4780 commit b094504
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_standard_validity():


def test_BasisStatePreparation_is_deprecated():
"""Test that my_feature is deprecated."""
"""Test that BasisStatePreparation is deprecated."""
with pytest.warns(qml.PennyLaneDeprecationWarning, match="BasisStatePreparation is deprecated"):
_ = qml.BasisStatePreparation([1, 0], wires=[0, 1])

Expand Down

0 comments on commit b094504

Please sign in to comment.