Utility module

tqsim.lib.utils.cplot(cmatrix, sigma=0.5, title='')[source]

Plots a complex-valued matrix with color coding, and a color map. ‘Sigma’ controls how much small values are colored. A lower value will emphasize small values more.

Parameters:
  • cmatrix (ndarray) – A complex-valued matrix.

  • sigma (float, optional) – Standard deviation squared. The default is 0.5.

  • title (str, optional) – Title of the plotted figure. The default is ‘’.

Return type:

None.