Skip to content

Commit

Permalink
Update qiskit_dynamics/signals/signals.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Puzzuoli <[email protected]>
  • Loading branch information
to24toro and DanPuzzuoli authored Oct 30, 2023
1 parent 5a6b474 commit dcbd902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit_dynamics/signals/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def __init__(

samples = unp.asarray(samples)
if carrier_freq is None:
carrier_freq = unp.zeros(samples.shape[-1], dtype=float)
carrier_freq = np.zeros(samples.shape[-1], dtype=float)

if phase is None:
phase = unp.zeros(samples.shape[-1], dtype=float)
Expand Down

0 comments on commit dcbd902

Please sign in to comment.