mthree.utils.final_measurement_mapping¶
- final_measurement_mapping(circuit)[source]¶
Return the final measurement mapping for the circuit.
Dict keys label measured qubits, whereas the values indicate the classical bit onto which that qubits measurement result is stored.
- Parameters:
circuit (QuantumCircuit or list) – Input Qiskit QuantumCircuit or circuits.
- Returns:
Mapping of classical bits to qubits for final measurements.
- Return type:
dict or list