qiskit.ignis.verification.process_tomography_circuits
process_tomography_circuits(circuit, measured_qubits, prepared_qubits=None, meas_labels='Pauli', meas_basis='Pauli', prep_labels='Pauli', prep_basis='Pauli')
Return a list of quantum process tomography circuits.
This performs preparation in the minimial Pauli-basis eigenstates
"Z_p"
:"Z_m"
:"X_p"
:"Y_m"
:
on each qubit, and measurement in the Pauli-basis X, Y, Z resulting in circuits for an n-qubit process tomography experiment.
Parameters
- circuit (
QuantumCircuit
) – the QuantumCircuit 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. - prepared_qubits (
Optional
[QuantumRegister
]) – the qubits to have state preparation applied, if different from measured_qubits. If None measured_qubits will be used for prepared qubits - 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. - prep_labels (
Union
[str
,Tuple
[str
],List
[Tuple
[str
]]]) – (default: ‘Pauli’) The preparation operator labels. - prep_basis (
Union
[str
,TomographyBasis
]) – (default: ‘Pauli’) The preparation basis.
Return type
List
[QuantumCircuit
]
Returns
A list of QuantumCircuit objects containing the original circuit with state preparation circuits prepended, and measurement circuits appended.
The returned circuits are named by the preparation and measurement basis.
Was this page helpful?
Report a bug or request content on GitHub.