Skip to content

Commit

Permalink
fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ShellyGarion committed Aug 18, 2024
1 parent 82f652e commit f565c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/python/circuit/test_initializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def test_mutating_params(self):
self.assertEqual(decom_circ.data[2].operation.params, ["0", "0"])

def test_gates_to_uncompute(self):
"""Initialize a uniform superposition on 2 qubits."""
"""Test the gates_to_uncompute() method."""
desired_vector = [0.5, 0.5, 0.5, 0.5]
initialize = Initialize(desired_vector)
qc = initialize.gates_to_uncompute().inverse()
Expand Down

0 comments on commit f565c1b

Please sign in to comment.