Skip to content

Commit

Permalink
Merge pull request #243 from BBN-Q/fix/APS-SSB
Browse files Browse the repository at this point in the history
Fix APS SSB for arbitrary pulse lengths
  • Loading branch information
Diego Ristè committed Nov 13, 2019
2 parents c0b8956 + f121681 commit c4d1453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGL/drivers/APSPattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def build_waveforms(seqs, shapeLib):
shape = np.exp(1j * wf.phase) * wf.amp * shapeLib[wf.key]
if wf.frequency != 0 and wf.amp != 0:
shape *= np.exp(
-1j * 2 * np.pi * wf.frequency * np.arange(wf.length) /
-1j * 2 * np.pi * wf.frequency * np.arange(len(shape)) /
SAMPLING_RATE) #minus from negative frequency qubits
wfLib[wf_sig(wf)] = shape
return wfLib
Expand Down

0 comments on commit c4d1453

Please sign in to comment.