supergrad.utils.gates.phasegate

Contents

supergrad.utils.gates.phasegate#

supergrad.utils.gates.phasegate(theta, n=None, target=0)[source]#

Returns quantum object representing the phase shift gate.

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

Original docstring below.

Parameters:

theta (float) – Phase rotation angle.

Returns:

phase_gate – Quantum object representation of phase shift gate.

Return type:

qobj