# qiskit.quantum_info.CNOTDihedral.tensor¶

CNOTDihedral.tensor(other)[código fonte]

Return the tensor product with another CNOTDihedral.

Parâmetros

other (CNOTDihedral) – a CNOTDihedral object.

Retorno

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

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

Tipo de retorno

CNOTDihedral

Nota

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