Analog pulse¶
-
class
ctrlq.cvqe.pulse.pulse(shape='square', nqubit=2, nwindow=2, ngaus=2, mean_constraint=None, sigma_constraint=None, amp_constraint=None, tseq_constraint=None, freq_constraint=None, fscale=1.0, tscale=1.0, duration=10.0, constrain0=True, freq_ini_restrict=False, freq_off=0.6, amp_bound=0.02, freq_bound=1.0)¶ Analog pulse class. Define control analog pulse shape. Square pulses are initialized with random guess.
Parameters: - shape (str) – Shape of control pulse. Defaults to ‘square’ which is the only one currently supported.
- nqubit (int) – Number of qubits. Defaults to 2.
- nwindow (int) – For square pulses, number of time windows (seqments). Defaults to 2.
- duration (float) – Total time duration of the pulse. Defaults to 10.0.
- fscale (float) – Scale the frequency of the pulse. Defaults to 1.0.
- tscale (float) – Scale the time windows and the total time duration of the pulse. Defaults to 1.0.
- amp_bound (float) – Constrain for amplitude in 2pi GHz. Defaults to 0.02.
- freq_bound (float) – Constrain for drive frequency in 2pi GHz. Defaults to 1.00