Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

EchoedCrossResonance

class EchoedCrossResonance(basis_gates=None, default_values=None, target_pulses=True)[source]

A library for echoed cross-resonance gates.

The cr45p and cr45m include a pulse on the control qubit and optionally a pulse on the target qubit.

Provided gates:
  • cr45p: GaussianSquare cross-resonance gate for a +π/4 rotation.

  • cr45m: GaussianSquare cross-resonance gate for a π/4 rotation.

  • ecr: Echoed cross-resonance gate defined as cr45p - x - cr45m.

  • rzx: RZXGate built from the ecr as cr45p - x - cr45m - x.

Required gates:
Pulse parameters:
  • tgt_amp: The amplitude of the pulse applied to the target qubit. Default value: 0.

  • σ: The standard deviation of the flanks. Default value: 64 samples.

  • amp: The amplitude of the pulses applied to the control qubit. Default value: 50%.

  • duration: The duration of the cr45p and cr45m pulses. Default value: 1168 samples.

  • risefall: The number of σ’s in the flanks of the pulses. Default value: 2.

Setup the library.

Parameters:
  • basis_gates (Optional[List[str]]) – The basis gates to generate.

  • default_values (Optional[Dict]) – A dictionary to override library default parameter values.

  • target_pulses (bool) – If True (the default) then drives will be added to the target qubit during the CR tones on the control qubit.

Attributes

EchoedCrossResonance.basis_gates

Return the basis gates supported by the library.

Methods

EchoedCrossResonance.__getitem__(name)

Return the schedule.

EchoedCrossResonance.__len__()

The length of the library defined as the number of basis gates.

EchoedCrossResonance.config()

Return the settings used to initialize the library.

EchoedCrossResonance.default_values()

The default values of the CR library.

EchoedCrossResonance.from_config(config)

Deserialize the library given the input dictionary

EchoedCrossResonance.get(k[,d])

EchoedCrossResonance.items()

EchoedCrossResonance.keys()

EchoedCrossResonance.num_qubits(name)

Return the number of qubits that the schedule with the given name acts on.

EchoedCrossResonance.values()

EchoedCrossResonance.__len__()

The length of the library defined as the number of basis gates.

EchoedCrossResonance.__getitem__(name)

Return the schedule.