Skip to content

Commit

Permalink
Fix CI failure with Qiskit 0.45 - Trotter QDrift test (#97)
Browse files Browse the repository at this point in the history
(cherry picked from commit d36fae1)
  • Loading branch information
woodsp-ibm authored and mergify[bot] committed Nov 15, 2023
1 parent 8b3de7b commit 1abd4d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/time_evolvers/test_trotter_qrte.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ def test_trotter_qrte_qdrift(self, initial_state, expected_state):
time = 1
evolution_problem = TimeEvolutionProblem(operator, time, initial_state)

algorithm_globals.random_seed = 0
trotter_qrte = TrotterQRTE(product_formula=QDrift())
trotter_qrte = TrotterQRTE(product_formula=QDrift(seed=0))

evolution_result = trotter_qrte.evolve(evolution_problem)

Expand Down

0 comments on commit 1abd4d0

Please sign in to comment.