spheres.utils.compare_spinors

spheres.utils.compare_spinors(A, B, decimals=5)[source]

Compares two lists of spinors, disregarding both their phases, as well as their ordering in the list.

Parameters
  • A (list) –

  • B (list) –

  • decimals (int) –

Returns

equal

Return type

bool