Readout discriminator training (0-1-2 states)¶
This notebook trains a 0-1-2 discriminator
Description¶
The experiment measures the and signals when
the qubit is prepared in the ground state , first excited
state , and second excited state (i.e., 0-1-2
states). Given the collected data, the discriminator fits using
sklearn
LDA (Linear Discriminant Analysis) or QDA (Quadratic
Discriminant Analysis). LDA and QDA are two well-known supervised
classification methods in statistical and probabilistic learning1.
Without going into
further details, given a dataset of instances
with a sample size of and
dimensionality and ,
with as the class labels, LDA and QDA can be used to classify
the data space using these instances.
Experiment steps¶
-
Measuring the resonator transmission and collecting the and signals when the qubit is in .
-
Applying a -pulse (
rx180
), which prepares the qubit in the excited state . -
Measuring the resonator transmission and collecting the and signals when the qubit is in .
-
Applying a second -pulse (
rx180_ef
), which prepares the qubit in the second excited state . Note that the -amplitude is represented asef_x180_amplitude
. -
Measuring the resonator transmission and collecting the and signals when the qubit is in .
Analysis steps¶
-
Training the discriminator using LDA (or QDA), thus obtaining the conditional probability for each state.
-
Compute the Probability Distribution Function for each measured state along the axis that connects the centers of the - cluster data. The axes are computed using pairs of adjacent centers. In this notebook, we compute two axes: one connecting the centers of the - data for and states (named
x_01
), and a second connecting the centers of the - data for and states (namedx_12
).
-
Benyamin Ghojogh and Mark Crowley. Linear and quadratic discriminant analysis: tutorial. 2019. arXiv:1906.02590. ↩