# qiskit.quantum_info.CNOTDihedral.tensor¶

CNOTDihedral.tensor(other)[Quellcode]

Return the tensor product with another CNOTDihedral.

Parameter

other (CNOTDihedral) – a CNOTDihedral object.

Rückgabe

the tensor product $$a \otimes b$$, where $$a$$

is the current CNOTDihedral, and $$b$$ is the other CNOTDihedral.

Rückgabetyp

CNOTDihedral

Bemerkung

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