in src/braket/ocean_plugin/braket_sampler.py [0:0]
def _access_optimized_nodelist(self) -> FrozenSet[int]:
"""FrozenSet[int]: FrozenSet of active qubits for the solver.
Returning a frozen set allows for near constant existence checks.
"""
return frozenset(self.properties["qubits"])