cirq.experiments.T2DecayResult

Results from a T2 decay experiment.

This object is a container for the measurement results in each basis for each amount of delay. These can be used to calculate Pauli expectation values, length of the Bloch vector, and various fittings of the data to calculate estimated T2 phase decay times.

expectation_pauli_x A data frame with delay_ns, value columns.

This value contains the expectation of the Pauli X operator as estimated by measurement outcomes.

expectation_pauli_y A data frame with delay_ns, value columns.

This value contains the expectation of the Pauli X operator as estimated by measurement outcomes.

Methods

plot_bloch_vector

View source

Plots the estimated length of the Bloch vector versus time.

This plot estimates the Bloch Vector by squaring the Pauli expectation value of X and adding it to the square of the Pauli expectation value of Y. This essentially projects the state into the XY plane.

Note that Z expectation is not considered, since T1 related amplitude damping will generally push this value towards |0> (expectation = -1) which will significantly distort the T2 numbers.

Args
ax the plt.Axes to plot on. If not given, a new figure is created, plotted on, and shown.
**plot_kwargs Arguments to be passed to 'plt.Axes.plot'.

Returns
The plt.Axes containing the plot.

plot_expectations

View source

Plots the expectation values of Pauli operators versus delay time.

Args
ax the plt.Axes to plot on. If not given, a new figure is created, plotted on, and shown.
**plot_kwargs Arguments to be passed to 'plt.Axes.plot'.

Returns
The plt.Axes containing the plot.

__eq__

View source

Return self==value.