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
andcr45m
include a pulse on the control qubit and optionally a pulse on the target qubit.- Provided gates:
cr45p: GaussianSquare cross-resonance gate for a
rotation.cr45m: GaussianSquare cross-resonance gate for a
rotation.ecr: Echoed cross-resonance gate defined as
cr45p - x - cr45m
.rzx: RZXGate built from the ecr as
cr45p - x - cr45m - x
.
- Required gates:
x: the x gate is defined outside of this library, see
FixedFrequencyTransmon
.
- 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
Return the basis gates supported by the library.
Methods
Return the schedule.
The length of the library defined as the number of basis gates.
Return the settings used to initialize the library.
The default values of the CR library.
EchoedCrossResonance.from_config
(config)Deserialize the library given the input dictionary
EchoedCrossResonance.get
(k[,d])Return the number of qubits that the schedule with the given name acts on.
The length of the library defined as the number of basis gates.
Return the schedule.