# qml.devices.torch_ops¶

Utility functions and numerical implementations of quantum operations PyTorch device.

Functions

 A(dev) B(dev) C(dev) CRX(theta[, device]) Two-qubit controlled rotation about the x axis. CRY(theta, device) Two-qubit controlled rotation about the y axis. CRZ(theta, device) Two-qubit controlled rotation about the z axis. CRot(a, b, c, device) Arbitrary two-qubit controlled rotation using three Euler angles. ControlledPhaseShift(phi[, device]) Two-qubit controlled phase shift. DoubleExcitation(phi, device) Double excitation rotation. DoubleExcitationMinus(phi, device) Double excitation rotation with negative phase-shift. DoubleExcitationPlus(phi, device) Double excitation rotation with positive phase-shift. I(dev) I4(dev) II(dev) IX(dev) IY(dev) IZ(dev) IsingXX(phi, device) Ising XX coupling gate IsingYY(phi, device) Ising YY coupling gate IsingZZ(phi, device) Ising ZZ coupling gate MultiRZ(theta, n[, device]) Arbitrary multi Z rotation. PhaseShift(phi[, device]) One-qubit phase shift. RX(theta[, device]) One-qubit rotation about the x axis. RY(theta[, device]) One-qubit rotation about the y axis. RZ(theta[, device]) One-qubit rotation about the z axis. Rot(a, b, c[, device]) Arbitrary one-qubit rotation using three Euler angles. SingleExcitation(phi, device) Single excitation rotation. SingleExcitationMinus(phi, device) Single excitation rotation with negative phase-shift outside the rotation subspace. SingleExcitationPlus(phi, device) Single excitation rotation with positive phase-shift outside the rotation subspace. UCos(dev) USin(dev) X(dev) XX(dev) Y(dev) YY(dev) Z(dev) ZI(dev) ZX(dev) ZY(dev) ZZ(dev) op_matrix(elements) Decorator to instantiate a tensor on a device.