dwave.optimization.model.Symbol.has_state#

Symbol.has_state(index=0)#

Return the initialization status of the indexed state.

Parameters:

index – Index of the queried state.

Returns:

True if the state is initialized.