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.