Skip to content

extended_pulse_factories

tergite_autocalibration.utils.dto.extended_pulse_factories

A module containing factory functions for pulses on the quantum-device layer.

These factories are used to take a parametrized representation of on a operation and use that to create an instance of the operation itself.

Functions:

Name Description
composite_soft_square_pulse

An example composite pulse to implement a CZ gate.

long_ramp_pulse

Deprecated long_ramp_pulse.

long_square_pulse

Deprecated long_square_pulse.

staircase_pulse

Deprecated staircase_pulse.

composite_soft_square_pulse

composite_soft_square_pulse(square_amp: float, square_duration: float, square_port: str, square_clock: str, virt_z_parent_qubit_phase: float, virt_z_parent_qubit_clock: str, virt_z_child_qubit_phase: float, virt_z_child_qubit_clock: str, reference_magnitude: ReferenceMagnitude | None = None, t0: float = 0) -> SoftSquarePulse

An example composite pulse to implement a CZ gate.

It applies the square pulse and then corrects for the phase shifts on both the qubits.

Parameters

square_amp Amplitude of the square envelope. square_duration The square pulse duration in seconds. square_port Port of the pulse, must be capable of playing a complex waveform. square_clock Clock used to modulate the pulse. virt_z_parent_qubit_phase The phase shift in degrees applied to the parent qubit. virt_z_parent_qubit_clock The clock of which to shift the phase applied to the parent qubit. virt_z_child_qubit_phase The phase shift in degrees applied to the child qubit. virt_z_child_qubit_clock The clock of which to shift the phase applied to the child qubit. reference_magnitude : :class:~quantify_scheduler.operations.pulse_library.ReferenceMagnitude, optional Scaling value and unit for the unitless amplitude. Uses settings in hardware config if not provided. t0 Time in seconds when to start the pulses relative to the start time of the Operation in the Schedule.

Returns

: SquarePulse operation.

long_ramp_pulse

long_ramp_pulse() -> StitchedPulse

Deprecated long_ramp_pulse.

long_square_pulse

long_square_pulse() -> StitchedPulse

Deprecated long_square_pulse.

staircase_pulse

staircase_pulse() -> StitchedPulse

Deprecated staircase_pulse.