Skip to content

Commit

Permalink
Fix minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chmwzc committed Dec 16, 2024
1 parent 76f2f21 commit e9af30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_hamiltonians_symbolic.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def test_hamiltonian_expectation_from_samples(backend, observable, qubit_map):
c.add(gates.RX(1, np.random.rand()))
c.add(gates.RX(2, np.random.rand()))
c.add(gates.RX(3, np.random.rand()))
c.add(gates.M(*qubit_map)
c.add(gates.M(*qubit_map))
nshots = 10**5
result = backend.execute_circuit(c, nshots=nshots)
freq = result.frequencies(binary=True)
Expand Down

0 comments on commit e9af30c

Please sign in to comment.