Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.ignis.verification.state_tomography_circuits

state_tomography_circuits(circuit, measured_qubits, meas_labels='Pauli', meas_basis='Pauli')

GitHub

Return a list of quantum state tomography circuits.

This performs measurement in the Pauli-basis resulting in 3n3^n circuits for an n-qubit state tomography experiment.

Parameters

  • circuit (QuantumCircuit) – the state preparation circuit to be tomographed.
  • measured_qubits (QuantumRegister) – the qubits to be measured. This can also be a list of whole QuantumRegisters or individual QuantumRegister qubit tuples.
  • meas_labels (Union[str, Tuple[str], List[Tuple[str]]]) – (default: ‘Pauli’) The measurement operator labels.
  • meas_basis (Union[str, TomographyBasis]) – (default: ‘Pauli’) The measurement basis.

Return type

List[QuantumCircuit]

Returns

A list containing copies of the original circuit with state tomography measurements appended at the end.


Additional Information:

The returned circuits are named by the measurement basis.

To perform tomography measurement in a custom basis, or to generate a subset of state tomography circuits for a partial tomography experiment use the general function tomography_circuits.

Was this page helpful?
Report a bug or request content on GitHub.