qilisdk.experiments.experiment_functional
Attributes
Classes
Abstract base class for single-qubit experiment functionals. |
|
Rabi experiment functional for a single qubit. |
|
T1 relaxation experiment functional for a single qubit. |
|
T2 dephasing experiment functional for a single qubit. |
|
Two-tone spectroscopy functional for a single qubit. |
Module Contents
- TResult_co[fuente]
- class ExperimentFunctional(qubit: int)[fuente]
Bases:
qilisdk.functionals.functional.Functional,abc.ABC,Generic[TResult_co]Abstract base class for single-qubit experiment functionals.
This class serves as a generic interface for defining quantum characterization experiments such as Rabi or T1. Each subclass specifies a concrete ExperimentResult type and the corresponding sweep parameters.
Initialize the experiment functional.
- Parámetros:
qubit (
int) – The physical qubit index on which the experiment is performed.
- property qubit: int[fuente]
The physical qubit index on which the experiment is performed.
- Devuelve:
Index of the qubit.
- Tipo del valor devuelto:
int
- class RabiExperiment(qubit: int, drive_duration_values: numpy.ndarray)[fuente]
Bases:
ExperimentFunctional[qilisdk.experiments.experiment_result.RabiExperimentResult]Rabi experiment functional for a single qubit.
This functional defines a standard Rabi oscillation experiment where the drive pulse duration is swept to measure the oscillatory response of the qubit under continuous driving.
Initialize a Rabi experiment functional.
- Parámetros:
qubit (
int) – The physical qubit index on which the experiment is performed.drive_duration_values (
np.ndarray) – Array of drive pulse durations (in nanoseconds) used to sweep the experiment.
- result_type: ClassVar[type[qilisdk.experiments.experiment_result.RabiExperimentResult]][fuente]
Result type returned by this functional.
- property drive_duration_values: numpy.ndarray[fuente]
Drive pulse duration sweep values.
- Devuelve:
The set of drive durations (in nanoseconds) used in the Rabi experiment.
- Tipo del valor devuelto:
np.ndarray
- class T1Experiment(qubit: int, wait_duration_values: numpy.ndarray)[fuente]
Bases:
ExperimentFunctional[qilisdk.experiments.experiment_result.T1ExperimentResult]T1 relaxation experiment functional for a single qubit.
This functional defines a standard T1 (energy relaxation) experiment, where the delay between excitation and measurement is varied to extract the relaxation time constant of the qubit.
Initialize a T1 experiment functional.
- Parámetros:
qubit (
int) – The physical qubit index on which the experiment is performed.wait_duration_values (
np.ndarray) – Array of waiting times (in nanoseconds) between excitation and measurement.
- result_type: ClassVar[type[qilisdk.experiments.experiment_result.T1ExperimentResult]][fuente]
Result type returned by this functional.
- property wait_duration_values: numpy.ndarray[fuente]
Waiting time sweep values.
- Devuelve:
The set of delay durations (in nanoseconds) used in the T1 experiment.
- Tipo del valor devuelto:
np.ndarray
- class T2Experiment(qubit: int, wait_duration_values: numpy.ndarray)[fuente]
Bases:
ExperimentFunctional[qilisdk.experiments.experiment_result.T2ExperimentResult]T2 dephasing experiment functional for a single qubit.
This functional defines a Ramsey/spin-echo style T2 experiment, where the free-evolution delay between phase-sensitive pulses is swept to extract the qubit coherence time.
Initialize a T2 dephasing experiment functional.
- Parámetros:
qubit (
int) – The physical qubit index on which the experiment is performed.wait_duration_values (
np.ndarray) – Array of free-evolution delays (in nanoseconds) between the phase-sensitive pulses.
- result_type: ClassVar[type[qilisdk.experiments.experiment_result.T2ExperimentResult]][fuente]
Result type returned by this functional.
- property wait_duration_values: numpy.ndarray[fuente]
Free-evolution delay sweep values.
- Devuelve:
The set of delay durations (in nanoseconds) used to estimate T2.
- Tipo del valor devuelto:
np.ndarray
- class TwoTonesExperiment(qubit: int, frequency_start: float, frequency_stop: float, frequency_step: float)[fuente]
Bases:
ExperimentFunctional[qilisdk.experiments.experiment_result.TwoTonesExperimentResult]Two-tone spectroscopy functional for a single qubit.
Sweeps a drive tone frequency while monitoring the readout tone to identify the qubit transition frequency.
Initialize a two-tone spectroscopy functional.
- Parámetros:
qubit (
int) – The physical qubit index on which the experiment is performed.frequency_start (
float) – Starting frequency of the swept drive tone (in Hz).frequency_stop (
float) – Ending frequency of the swept drive tone (in Hz).frequency_step (
float) – Frequency increment between sweep points (in Hz).
- result_type: ClassVar[type[qilisdk.experiments.experiment_result.TwoTonesExperimentResult]][fuente]
Result type returned by this functional.
- property frequency_start: float[fuente]
Start frequency for the drive tone sweep.
- Devuelve:
Starting frequency of the drive tone (in Hz).
- Tipo del valor devuelto:
float
- property frequency_stop: float[fuente]
Stop frequency for the drive tone sweep.
- Devuelve:
Ending frequency of the drive tone (in Hz).
- Tipo del valor devuelto:
float
- property frequency_step: float[fuente]
Step size for the drive tone sweep.
- Devuelve:
Frequency increment between sweep points (in Hz).
- Tipo del valor devuelto:
float