Skip to content

Commit

Permalink
location to insert optimiser
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiaangelo committed Jul 29, 2024
1 parent 311eb95 commit ceb664d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ising_mixerXY.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def callback(quasi_dists, parameters, energy):
initial_point = np.ones(2 * p)
noisy_sampler = BackendSampler(backend=simulator, options=options, bound_pass_manager=PassManager())

# insert optimzier
# insert optimiser

start_time1 = time.time()
qaoa1 = QAOA(sampler=noisy_sampler, optimizer=COBYLA(), reps=p, initial_state=qc, mixer=XY_mixer, initial_point=initial_point,callback=callback)
Expand Down

0 comments on commit ceb664d

Please sign in to comment.