cirq.experiments.TomographyResult

Results from a state tomography experiment.

data Returns an n^2 by n^2 complex matrix representing the density matrix of the n-qubit system.

Methods

plot

View source

Plots the real and imaginary parts of the density matrix as two 3D bar plots.

Args
axes a list of 2 plt.Axes instances. Note that they must be in 3d projections. If not given, a new figure is created with 2 axes and the plotted figure is shown.
plot_kwargs the optional kwargs passed to bar3d.

Returns
the list of plt.Axes being plotted on.

Raises
ValueError if axes is a list with length != 2.