pygsti.tools.optools.is_trace_preserving

pygsti.tools.optools.is_trace_preserving#

is_trace_preserving(a, mx_basis='pp', tol=1e-08)#
Parameters:
  • a (ndarray)

  • mx_basis (Basis | str)

Return type:

bool