pygsti.tools.matrixtools.norm1to1

Contents

pygsti.tools.matrixtools.norm1to1#

norm1to1(operator, num_samples=10000, mx_basis='gm')#

The Hermitian 1-to-1 norm of a superoperator represented in the standard basis.

This is calculated via Monte-Carlo sampling. The definition of Hermitian 1-to-1 norm can be found in arxiv:1109.6887.

Parameters:
  • operator (numpy.ndarray) – The operator matrix to take the norm of.

  • num_samples (int, optional) – Number of Monte-Carlo samples.

  • mx_basis ({'std', 'gm', 'pp', 'qt'} or Basis) – The basis of operator.

Returns:

Depends on the value of return_list.

Return type:

float or list