qilisdk.experiments.experiment_functional

Attributes

TResult_co

Classes

ExperimentFunctional

Abstract base class for single-qubit experiment functionals.

Module Contents

TResult_co[fuente]
class ExperimentFunctional(qubit: int, averages: 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.

Concrete experiment functionals are provided by the qili-experiments plugin library, not by qilisdk.

Initialize the experiment functional.

Parámetros:
  • qubit (int) – The physical qubit index on which the experiment is performed.

  • averages (int) – Number of averages to acquire for the experiment.

result_type: ClassVar[type[qilisdk.experiments.experiment_result.ExperimentResult]][fuente]

Concrete ExperimentResult subclass returned.

property qubit: int[fuente]

The physical qubit index on which the experiment is performed.

Devuelve:

Index of the qubit.

Tipo del valor devuelto:

int

property averages: int[fuente]

Number of averages to acquire for the experiment.

Devuelve:

Number of averages.

Tipo del valor devuelto:

int