Choi.compose

Choi.compose(other, qargs=None, front=False)[source]

Return the composed quantum channel self @ other.

Parameters
  • other (QuantumChannel) – a quantum channel.

  • qargs (list or None) – a list of subsystem positions to apply other on. If None apply on all subsystems [default: None].

  • front (bool) – If True compose using right operator multiplication, instead of left multiplication [default: False].

Returns

The quantum channel self @ other.

Return type

Choi

Raises

QiskitError – if other has incompatible dimensions.

Additional Information:

Composition (@) is defined as left matrix multiplication for SuperOp matrices. That is that A @ B is equal to B * A. Setting front=True returns right matrix multiplication A * B and is equivalent to the dot() method.