qiskit.ignis.mitigation.CTMPExpvalMeasMitigator.generator_matrix¶
- CTMPExpvalMeasMitigator.generator_matrix(qubits=None)[source]¶
Return the generator matrix on the specified qubits.
The generator matrix \(G\) is given by \(\sum_i r_i G_i\) where the sum is taken over all \(G_i\) acting on the specified qubits subset.
- Paramètres
qubits (
Optional
[List
[int
]]) – Optional, qubit subset for the generators.- Renvoie
the generator matrix \(G\).
- Type renvoyé
sps.coo_matrix