pygsti.tools.matrixtools.expop_multiply_prep#
- expop_multiply_prep(op, a_1_norm=None, tol=1.1102230246251565e-16)#
Returns “prepared” meta-info about operation op, which is assumed to be traceless (so no shift is needed).
Used as input for use with _custom_expm_multiply_simple_core or fast C-reps.
- Parameters:
op (scipy.sparse.linalg.LinearOperator) – The operator to exponentiate.
a_1_norm (float, optional) – The 1-norm (if computed separately) of op.
tol (float, optional) – Tolerance used to within matrix exponentiation routines.
- Returns:
A tuple of values to pass to expm_multiply_fast.
- Return type:
tuple