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