QuantumError.expand

QuantumError.expand(other)[source]

Return the tensor product quantum error channel self ⊗ other.

Parameters

other (QuantumError) – a quantum error channel.

Returns

the tensor product error channel other ⊗ self.

Return type

QuantumError

Raises

NoiseError – if other cannot be converted to a QuantumError.