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
Note
The tensor product can be obtained using the
^
binary operator. Hencea.tensor(b)
is equivalent toa ^ b
.