DensityMatrix.expand¶
- DensityMatrix.expand(other)[source]¶
Return the tensor product state other ⊗ self.
- Parameters
other (DensityMatrix) – a quantum state object.
- Returns
the tensor product state other ⊗ self.
- Return type
- Raises
QiskitError – if other is not a quantum state.