supergrad.utils.gates.fredkin

Contents

supergrad.utils.gates.fredkin#

supergrad.utils.gates.fredkin(n=None, control=0, targets=[1, 2])[source]#

Quantum object representing the Fredkin gate.

SuperGrad-supported implementation of qutip_qip.operations.gates.fredkin().

Original docstring below.

Returns:

fredkin_gate – Quantum object representation of Fredkin gate.

Return type:

qobj