Skip to content

Commit

Permalink
fix: Adjust barrier placement in pulse sequence to ensure proper exec…
Browse files Browse the repository at this point in the history
…ution flow
  • Loading branch information
Akinori Machino committed Dec 27, 2024
1 parent 2961e75 commit 4dccace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qubex/experiment/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -5188,10 +5188,10 @@ def state_tomography(
state=initial_state[qubit],
)
ps.add(qubit, init_pulse)
ps.barrier()
ps.barrier()
for target, waveform in sequence.items():
ps.add(target, waveform)
ps.barrier()
ps.barrier()
for qubit in qubits:
x90p = x90[qubit]
y90m = x90p.shifted(-np.pi / 2)
Expand Down

0 comments on commit 4dccace

Please sign in to comment.