pygsti.tools.matrixtools.expm_multiply_fast

pygsti.tools.matrixtools.expm_multiply_fast#

expm_multiply_fast(prep_a, v, tol=1.1102230246251565e-16)#

Multiplies v by an exponentiated matrix.

Parameters:
  • prep_a (tuple) – A tuple of values from expm_multiply_prep() that defines the matrix to be exponentiated and holds other pre-computed quantities.

  • v (numpy.ndarray) – Vector to multiply (take dot product with).

  • tol (float, optional) – Tolerance used to within matrix exponentiation routines.

Return type:

numpy.ndarray