qiskit.providers.aer.utils.NoiseTransformer.get_matrix_from_channel¶
- static NoiseTransformer.get_matrix_from_channel(channel, symbol)[Quellcode]¶
Extract the numeric parameter matrix.
- Parameter
channel (matrix) – a 4x4 symbolic matrix.
symbol (list) – a symbol xi
- Rückgabe
a 4x4 numeric matrix.
- Rückgabetyp
matrix
- Additional Information:
Each entry of the 4x4 symbolic input channel matrix is assumed to be a polynomial of the form a1x1 + … + anxn + c. The corresponding entry in the output numeric matrix is ai.