qat.devices.AllToAll

class qat.devices.AllToAll(nbqbits)

A device with all-to-all connectivity.

from qat.devices import AllToAll

device = AllToAll(10)
assert device.topology.to_nx().number_of_edges() == 45
print(device.description)
A fully connected device with 10 qubits
Parameters

nbqbits (int) – the number of qubits