NoiseTransformer.operator_matrix¶
- NoiseTransformer.operator_matrix(operator)[source]¶
Converts an operator representation to Kraus matrix representation
- Parameters
operator (operator) – operator representation. Can be a noise circuit or a matrix or a list of matrices.
- Returns
the operator, converted to Kraus representation.
- Return type