|View source on GitHub|
Object which can be compared for equality mod global phase.
_equal_up_to_global_phase_( other: Any, *, atol: Union[int, float] ) -> bool
Types implementing this protocol define their own logic for comparison with other types.
||Target object for comparison of equality up to global phase.|
The minimum absolute tolerance. See
|True if objects are equal up to a global phase, False otherwise. Returns NotImplemented when checking equality up to a global phase is not implemented for given types.|