qiskit.ignis.mitigation.CTMPExpvalMeasMitigator.generator_matrix¶
- CTMPExpvalMeasMitigator.generator_matrix(qubits=None)[소스]¶
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.
- 매개변수
qubits (
Optional
[List
[int
]]) – Optional, qubit subset for the generators.- 반환
the generator matrix \(G\).
- 반환 형식
sps.coo_matrix