cirq.definitely_commutes

cirq.definitely_commutes(v1: Any, v2: Any, *, atol: Union[int, float] = 1e-08) → bool[source]

Determines whether two values definitely commute.

Returns

The two values definitely commute. False: The two values may or may not commute.

Return type

True