qml.devices.tf_ops

Utility functions and numerical implementations of quantum operations TensorFlow 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.

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.