dwave.system.samplers.DWaveSampler.nodelist#

property DWaveSampler.nodelist[source]#

List of active qubits for the solver.

Active qubits are those that are included in the working graph.

Examples

First three qubits for a selected Advantage2 system.

>>> from dwave.system import DWaveSampler
>>> with DWaveSampler(topology_type='zephyr') as sampler:
...     sampler.nodelist[:3]
[0, 1, 2]
Type:

list