dwave.system.composites.TilingComposite.nodelist¶
-
TilingComposite.
nodelist
= None¶ list – List of active qubits for the structured solver.
Examples
This example creates a
TilingComposite
for a problem that requires a 2x1 Chimera lattice to solve with aDWaveSampler
as the sampler. It 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 >>> from dwave.system.composites import TilingComposite >>> sampler_tile = TilingComposite(DWaveSampler(), 2, 1, 4) >>> sampler_tile.nodelist [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]