ReadoutError.compose

ReadoutError.compose(other, front=False)[source]

Return the composition readout error other * self.

Note that for front=True this is equivalent to the ReadoutError.dot() method.

Parameters
  • other (ReadoutError) – a readout error.

  • front (bool) – If True return the reverse order composation self * other instead [default: False].

Returns

The composition readout error.

Return type

ReadoutError

Raises
  • NoiseError – if other is not a ReadoutError or has incompatible

  • dimensions.