LayerError
class LayerError(circuit, qubits, error)
The error channel (in Pauli-Lindblad format) of a single layer of instructions.
Parameters
- circuit (
QuantumCircuit
) – A circuit whose noise has been learnt. - qubits (
Sequence
[int
]) – The labels of the qubits in thecircuit
. - error (
PauliLindbladError
) – The Pauli Lindblad error channel affecting thecircuit
.
Raises
ValueError – If circuit
, qubits
, and error
have mismatching number of qubits.
Attributes
circuit
error
generators
(DEPRECATED) The Pauli Lindblad generators of the error channel in this LayerError
.
Return type
num_qubits
qubits
The qubits in this LayerError
.
Return type
List
[int
]
rates
(DEPRECATED) The Lindblad generator rates of the error channel in this LayerError
.
Return type
Methods
Was this page helpful?
Report a bug or request content on GitHub.