FluxPulse#

Module: exa.core.gate_implementations.flux_pulse

class FluxPulse(parent, name, locus, calibration_data, builder)#

Bases: GateImplementation

Base gate implementation for implementing flux pulses for any flux channel with arbitrary waveforms.

Applies the flux pulse on the flux channel of the first locus component. Does not take any parameters since it is discrete.

Inherit from this class and assign waveforms to the wave pulse slot to create a specific implementation.

Uses a part of the gate calibration data to prepare a flux pulse for the given component.

Attributes

wave

id

Unique str identifier, needed for certain caching properties.

sub_implementations

Single-component sub-implementations for factorizable gates with len(locus) > 1, otherwise empty.

Methods

duration_in_seconds

Duration of the Schedule of the gate implementation (in seconds).

locus_mapping_function

One-component loci (qubits and couplers) with fast flux.

Parameters:
  • parent (QuantumOp)

  • name (str)

  • locus (Locus)

  • calibration_data (OILCalibrationData)

  • builder (ScheduleBuilder)

locus_mapping_function()#

One-component loci (qubits and couplers) with fast flux.

Parameters:

sp (StationProperties)

Return type:

dict[tuple[str, …], tuple[str, …]]

duration_in_seconds()#

Duration of the Schedule of the gate implementation (in seconds).

Can be left unimplemented if the duration e.g. depends on the gate arguments. Subclasses can reimplement this method in case it makes sense in their context.

Return type:

float

Inheritance

Inheritance diagram of exa.core.gate_implementations.flux_pulse.FluxPulse