You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Right now the TilingComposite is only defined for Chimera-structured hardware graphs. It is not defined for Zephyr or Pegasus-structured either, see #295.
To Reproduce
from dwave.system.samplers import DWaveSampler
from dwave.system import TilingComposite
sampler = DWaveSampler(solver=dict(topology__type='zephyr'))
tiled_sampler = TilingComposite(sampler, 1, 2, 4)
Error
File /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/dwave/system/composites/tiling.py:157, in TilingComposite.__init__(self, sampler, sub_m, sub_n, t)
155 else:
156 if len(sampler.properties['topology']['shape']) != 1:
--> 157 raise ValueError('topology shape is not of length 1 '
158 '(not compatible with pegasus)')
159 # Full yield in odd-couplers also required.
160 # Generalizes chimera subgraph requirement and leads to some
161 # simplification of expressions, but at with a cost in cell-yield
162 edges_per_cell += t
The text was updated successfully, but these errors were encountered:
Description
Right now the
TilingComposite
is only defined for Chimera-structured hardware graphs. It is not defined for Zephyr or Pegasus-structured either, see #295.To Reproduce
Error
The text was updated successfully, but these errors were encountered: