measurement
tergite_autocalibration.lib.nodes.characterization.purity_benchmarking.measurement
Module containing a schedule class for purity benchmarking measurement.
Classes:
| Name | Description |
|---|---|
PurityBenchmarkingMeasurement |
Class that contains measurement scheduele for purity benchmarking |
PurityBenchmarkingMeasurement
Bases: BaseMeasurement
Class that contains measurement scheduele for purity benchmarking
Methods:
| Name | Description |
|---|---|
schedule_function |
Generate a schedule for performing purity benchmarking using Clifford gates. |
schedule_function
schedule_function(seeds: dict[str, int], number_of_cliffords: dict[str, ndarray], repetitions: int = 1024) -> Schedule
Generate a schedule for performing purity benchmarking using Clifford gates. The goal is to measure the purity of the qubit states after applying each sequence of Clifford gates.
Schedule sequence
Reset -> Apply Clifford operations -> Measure X -> Reset -> Apply Clifford operations -> Measure Y -> Reset -> Apply Clifford operations -> Measure Z
Parameters:
repetitions: int The number of times the Schedule will be repeated. number_of_cliffords: dict[str, np.ndarray] The number of random Clifford operations applied on each qubit state. This parameter is swept over.
Returns:
Schedule: An experiment schedule.