|View source on GitHub|
Object which can be compared approximately.
cirq.SupportsApproximateEquality( *args, **kwargs )
_approx_eq_( other: Any, *, atol: Union[int, float] ) -> bool
Types implementing this protocol define their own logic for approximate comparison with other types.
||Target object for approximate comparison.|
||The minimum absolute tolerance. See np.isclose() documentation for details.|
|True if objects are approximately equal, False otherwise. Returns NotImplemented when approximate equality is not implemented for given types.|