qit.gate.plusdot¶
- qit.gate.plusdot(n_in, n_out, d=2)¶
Plus dot.
The dual of
copydot
. Connecting computational basis states to all of its legs causes it to vanish unless the sum of the basis state labels is zero (mod d).- Parameters
n_in (int) – number of input legs
n_out (int) – number of ouput legs
d (int) – leg dimension
- Returns
plus dot
- Return type
See [9]