Namespace for operations. Operations are used to build graphs for remote execution of complex computation.
The types in this namespace each represent the result of some remote graph computation. As a result, you cannot directly access data from the objects of these types (although where documented you can access attributes of objects, which similarly correspond to results of remote computations). Instead, you can represent complex computations by feeding the objects output from one operation as the inputs to the next, and you can fetch the final computed values of objects by requesting them as outputs from the appropriate functions.
Returns the element-wise absolute value.
Adds two values element-wise.
Returns the conjugate of the input tensor representing a 2D matrix with the two innermost dimensions transposed.
Creates a sequence of variables with an anchored difference bound.
Returns the element-wise complex argument.
Returns the element-wise arccosine.
Returns the element-wise arcsine.
Returns the element-wise arctangent.
Creates bounded optimization variables.
Creates a complex piecewise-constant signal from moduli and phases.
Creates a complex number from real and imaginary parts.
Concatenates a list of tensors along a specified dimension.
Returns the element-wise conjugate.
Creates a constant piecewise-constant operator over a specified duration.
Creates a constant sparse piecewise-constant operator over a specified duration.
Creates a constant operator.
Creates the convolution of a piecewise-constant function with a kernel.
Returns the element-wise cosine.
Returns the element-wise hyperbolic cosine.
Calculates the cumulative sum of a tensor along a specified dimension.
Creates a piecewise-constant function by discretizing a sampleable function.
Estimates the dimension of the Krylov subspace to be used in the Lanczos integrator for a given bound on the total error in the integration.
Returns the element-wise exponential.
Divides two values and then takes the floor of the result, element-wise.
Creates a function that computes the integral of a normalized Gaussian.
Gets an attribute from a node value.
Gets an item (or items) from a node value.
Calculates a single Hessian matrix for all the variables.
Returns the element-wise imaginary part.
Creates the total infidelity of the given piecewise-constant system.
Creates the total infidelity of the given system.
Returns the element-wise natural logarithm.
Performs the matrix multiplication with the two innermost dimensions of two tensors.
Calculates the cost for robust optimization of a Mølmer–Sørensen gate.
Calculates the displacements for each mode and ion combination where ions are described by a Mølmer–Sørensen-type interaction.
Calculates the final operational infidelity of the Mølmer–Sørensen gate.
Calculates the relative phases for all pairs of ions described by a Mølmer–Sørensen-type interaction.
Multiplies two values element-wise.
Returns element-wise negative value.
Raises one value to the power of another element-wise.
Creates a constant operator multiplied by a piecewise-constant signal.
Creates the Hermitian part of a piecewise-constant operator.
Creates a piecewise-constant signal (scalar-valued function of time).
Creates the sum of multiple piecewise-constant terms.
Returns the element-wise real part.
Creates a piecewise-constant signal constructed from Fourier components.
Reverses a tensor along some specified dimensions.
Returns the element-wise sine.
Creates a function that computes the integral of the sinc function.
Returns the element-wise hyperbolic sine.
Creates a sparse piecewise-constant operator (sparse-matrix-valued function of time).
Creates the sum of multiple sparse-matrix-valued piecewise-constant functions.
Obtains the range of the eigenvalues of a Hermitian operator.
Returns the element-wise square root.
Calculates the time evolution of a state generated by a piecewise-constant Hamiltonian by using the Lanczos method.
Creates a constant operator multiplied by a sampleable signal.
Creates the sum of multiple sampleable functions.
Subtracts one value from another element-wise.
Returns the sum of all the elements in a tensor (or a list of tensors with the same shape).
Creates the symmetrization of a piecewise-constant function.
Returns the element-wise tangent.
Returns the element-wise hyperbolic tangent.
Creates information about the target for system time evolution.
Creates a piecewise-constant function of time.
Calculates the unitary time-evolution operators for a system defined by a piecewise-constant Hamiltonian.
Calculates the time-evolution operators for a system defined by an STF Hamiltonian by using a 4th order Runge–Kutta method.
Returns the sum of the diagonals of each innermost matrix of the input tensor.
Returns the input tensor with its dimensions reordered.
Divides two values element-wise.
Creates unbounded optimization variables.
A generic callable function.
A piecewise-constant sparse-matrix-valued function of time.
A sampleable tensor-valued function of time (or batch of such functions).
A target gate for an infidelity calculation.
A multi-dimensional array of data.
A piecewise-constant tensor-valued function of time (or batch of such functions).