dwave.optimization.model.Symbol.equals#

Symbol.equals(other)#

Compare whether two nodes are identical.

Parameters:

other – A node for comparison.

Equal nodes represent the same quantity in the model.

Note that comparing nodes across models is expensive.

See also

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