English
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.CNOTDihedral.tensor

CNOTDihedral.tensor(other)[source]

Return the tensor product with another CNOTDihedral.

Parameters

other (CNOTDihedral) – a CNOTDihedral object.

Returns

the tensor product \(a \otimes b\), where \(a\)

is the current CNOTDihedral, and \(b\) is the other CNOTDihedral.

Return type

CNOTDihedral

Note

The tensor product can be obtained using the ^ binary operator. Hence a.tensor(b) is equivalent to a ^ b.