supergrad.utils.gates.cz_gate

Contents

supergrad.utils.gates.cz_gate#

supergrad.utils.gates.cz_gate(n=None, control=0, target=1)[source]#

Controlled Z gate.

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

Original docstring below.

Returns:

result – Quantum object for operator describing the rotation.

Return type:

qutip.Qobj