Skip to content

Commit

Permalink
Update tests/test_ucc.py
Browse files Browse the repository at this point in the history
Co-authored-by: Wong ZC <[email protected]>
  • Loading branch information
damarkian and chmwzc authored Nov 12, 2024
1 parent b8cf3fb commit f4a2f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ucc.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def test_qeb_circuit(excitation, mapping, basis_rotations, coeffs):
control_result = control_circuit(nshots=1)
control_state = control_result.state(True)

test_circuit = qeb_circuit(n_qubits, excitation, theta=theta, trotter_steps=1)
test_circuit = qeb_circuit(n_qubits, excitation, theta=theta)
test_result = test_circuit(nshots=1)
test_state = test_result.state(True)
assert np.allclose(control_state, test_state)
Expand Down

0 comments on commit f4a2f2c

Please sign in to comment.