tlquantum.tt_gates
.cnot
- tlquantum.tt_gates.cnot(dtype=torch.complex64, device=None)[source]
Pair of CNOT class instances, one left (control) and one right (transformed).
- Parameters:
- devicestring, device on which to run the computation.
- Returns:
- (CNOTL, CNOTR)