PrxGateImplementation#

Module: iqm.pulse.gates.prx

class iqm.pulse.gates.prx.PrxGateImplementation(parent, name, locus, calibration_data, builder)#

Bases: GateImplementation

ABC for different implementations of the PRX gate.

Attributes

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

clifford

One-qubit XY Clifford gates.

locus_mapping_function

One-component loci with drive.

rx

X rotation gate.

ry

Y rotation gate.

Parameters:
locus_mapping_function()#

One-component loci with drive.

Parameters:

sp (StationProperties)

Return type:

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

rx(angle)#

X rotation gate.

Parameters:

angle (float) – rotation angle (in radians)

Returns:

boxed instruction schedule implementing the x rotation gate

Return type:

TimeBox

ry(angle)#

Y rotation gate.

Parameters:

angle (float) – rotation angle (in radians)

Returns:

boxed instruction schedule implementing the y rotation gate

Return type:

TimeBox

clifford(xy_gate)#

One-qubit XY Clifford gates.

Parameters:

xy_gate (XYGate) – Clifford gate

Returns:

boxed instruction schedule implementing the requested Clifford gate

Return type:

TimeBox

Inheritance

Inheritance diagram of iqm.pulse.gates.prx.PrxGateImplementation