PauliLindbladError¶
- class PauliLindbladError(generators, rates)[source]¶
Bases:
objectA Pauli error channel generated by a Pauli Lindblad dissipators.
This operator represents an N-qubit quantum error channel \(E(\rho) = e^{\sum_j r_j D_{P_j}}(\rho)\) generated by Pauli Lindblad dissipators \(D_P(\rho) = P \rho P - \rho\), where \(P_j\) are N-qubit
Paulioperators.The list of Pauli generator terms are stored as a
PauliListand can be accessed via thegeneratorsattribute. The array of dissipator rates \(r_j\) can be accessed via theratesattribute.The equivalent Pauli error channel can be constructed as a composition of single-Pauli channel terms
\[E = e^{\sum_j r_j D_{P_j}} = \prod_j e^{r_j D_{P_j}} = prod_j \left( (1 - p_j) S_I + p_j S_{P_j} \right)\]where \(p_j = \frac12 - \frac12 e^{-2 r_j}\) [1].
- Parameters:
generators (PauliList) – A list of the Pauli Lindblad generators for the error channel.
rates (Sequence[float]) – A list of the rates for the Pauli-Lindblad
generators.
- Raises:
ValueError – If
generatorsandrateshave different lengths.
References
E. van den Berg, Z. Minev, A. Kandala, K. Temme, Probabilistic error cancellation with sparse Pauli–Lindblad models on noisy quantum processors, Nature Physics volume 19, pages1116–1121 (2023). arXiv:2201.09866 [quant-ph]
Attributes
- generators¶
The Pauli Lindblad generators of this
PauliLindbladError.
- num_qubits¶
The number of qubits in this
PauliLindbladError.
- rates¶
The Lindblad generator rates of this quantum error.
Methods
- restrict_num_bodies(num_qubits)[source]¶
The
PauliLindbladErrorcontaining only those terms acting on exactlynum_qubitsqubits.- Parameters:
num_qubits (int) – The number of qubits that the returned error acts on.
- Returns:
The error containing only those terms acting on exactly
num_qubitsqubits.- Raises:
ValueError – If
num_qubitsis smaller than0.- Return type: