View source on GitHub |
Determines whether two values definitely commute.
cirq.definitely_commutes(
v1: Any, v2: Any, *, atol: Union[int, float] = 1e-08
) -> bool
Returns | |
---|---|
True
|
The two values definitely commute. |
False
|
The two values may or may not commute. |