qml.devices.autograd_ops

Utility functions and numerical implementations of quantum operations for Autograd-based devices.

Functions

CRX(theta)

Two-qubit controlled rotation about the x axis.

CRY(theta)

Two-qubit controlled rotation about the y axis.

CRZ(theta)

Two-qubit controlled rotation about the z axis.

CRot(a, b, c)

Arbitrary two-qubit controlled rotation using three Euler angles.

ControlledPhaseShift(phi)

Two-qubit controlled phase shift.

DoubleExcitation(phi)

Double excitation rotation.

DoubleExcitationMinus(phi)

Double excitation rotation with negative phase-shift.

DoubleExcitationPlus(phi)

Double excitation rotation with positive phase-shift.

IsingXX(phi)

Ising XX coupling gate

IsingYY(phi)

Ising YY coupling gate.

IsingZZ(phi)

Ising ZZ coupling gate

MultiRZ(theta, n)

Arbitrary multi Z rotation.

PhaseShift(phi)

One-qubit phase shift.

RX(theta)

One-qubit rotation about the x axis.

RY(theta)

One-qubit rotation about the y axis.

RZ(theta)

One-qubit rotation about the z axis.

Rot(a, b, c)

Arbitrary one-qubit rotation using three Euler angles.

SingleExcitation(phi)

Single excitation rotation.

SingleExcitationMinus(phi)

Single excitation rotation with negative phase-shift outside the rotation subspace.

SingleExcitationPlus(phi)

Single excitation rotation with positive phase-shift outside the rotation subspace.