LayoutWarning
- exception LayoutWarning
Warn that a circuit’s pulses realize a relabeled version of the circuit.
A compiled circuit whose
.layoutis not the identity carries its gates on the physical qubits a layout search chose, and the layout records which logical qubit each physical qubit holds. Pulses are emitted on those physical qubits, so state preparation before the pulse sequence and readout after it have to be understood in the same relabeling. Silence it withwarnings.filterwarnings()on this class.