qat.devices.GridDevice

class qat.devices.GridDevice(dimx, dimy)

A device with grid connectivity.

from qat.devices import GridDevice

device = GridDevice(3, 2)
print(device.description)
print(device)
A device with a 3x2 grid connectivity
0 -- 1
|    |    
|    |    
2 -- 3
|    |    
|    |    
4 -- 5
Parameters
  • dimx (int) – the first dimension

  • dimy (int) – the second dimension