supergrad.utils.gates.toffoli

Contents

supergrad.utils.gates.toffoli#

supergrad.utils.gates.toffoli(n=None, controls=[0, 1], target=2)[source]#

Quantum object representing the Toffoli gate.

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

Original docstring below.

Returns:

toff_gate – Quantum object representation of Toffoli gate.

Return type:

qobj