dwave.optimization.model.Symbol.equals#

Symbol.equals(other)#

Compare whether two symbols are identical.

Parameters:

other – A symbol for comparison.

Equal symbols represent the same quantity in the model.

Note that comparing symbols across models is expensive.

See also

maybe_equals(): an alternative for equality testing that can return false positives but is faster.