cirq.ops.CSWAP

The Controlled Swap gate.

Used in the notebooks

Used in the tutorials

An instance of cirq.CSwapGate.

Matrix:

    [[1 . . . . . . .],
     [. 1 . . . . . .],
     [. . 1 . . . . .],
     [. . . 1 . . . .],
     [. . . . 1 . . .],
     [. . . . . . 1 .],
     [. . . . . 1 . .],
     [. . . . . . . 1]]