English
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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

DensityMatrix

Raises

QiskitError – if other is not a quantum state.