dwave.system.samplers.DWaveSampler.nodelist¶
-
DWaveSampler.
nodelist
¶ list – List of active qubits for the D-Wave solver.
Examples
This example creates a
DWaveSampler
and prints the active qubits retrieved from a D-Wave solver selected by the user’s default D-Wave Cloud Client configuration file.>>> from dwave.system.samplers import DWaveSampler >>> sampler = DWaveSampler() >>> sampler.nodelist [0, 1, 2, 3, 4, 5, # Snipped above response for brevity