# qiskit.quantum_info.CNOTDihedral.tensor¶

CNOTDihedral.tensor(other)[source]

Return the tensor product with another CNOTDihedral.

Paramètres

other (CNOTDihedral) – a CNOTDihedral object.

Renvoie

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

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

Type renvoyé

CNOTDihedral

Note

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