This performs n qubit tomography on a cirq circuit

Follows A.1. State Tomography. This is a high level interface for StateTomographyExperiment.

circuit Circuit to do the tomography on.
qubits Qubits to do the tomography on.
sampler Sampler to collect the data from.
repetitions Number of times to sample each rotation.
prerotations Tuples of (phase_exponent, exponent) parameters for gates to apply to the qubits before measurement. The actual rotation applied will be cirq.PhasedXPowGate with the specified values of phase_exponent and exponent. If None, we use [(0, 0), (0, 0.5), (0.5, 0.5)], which corresponds to rotation gates [I, X0.5, Y0.5].

TomographyResult which contains the density matrix of the qubits determined by tomography.