qiskit.quantum_info.DensityMatrix.expand¶
- DensityMatrix.expand(other)[source]¶
Return the tensor product state other ⊗ self.
- Paramètres
other (DensityMatrix) – a quantum state object.
- Renvoie
the tensor product state other ⊗ self.
- Type renvoyé
- Lève
QiskitError – if other is not a quantum state.