Skip to main content

Quera

Aquila* is QuEra's 256-qubit neutral-atom quantum computer. It operates as an analog Hamiltonian simulator on a user-configurable architecture, executing programmable coherent quantum dynamics on up to 256 neutral-atom qubits. *Availability

Solver

ModelBackend
AquilaNDArraybraket.aquila

AquilaNDArray

The AquilaNDArray model is a representation of a graph in the form of a NumPy array. Each row in the array represents an edge in the graph, with the first two columns representing the nodes connected by the edge.

import numpy as np
from strangeworks_optimization_models.problem_models import AquilaNDArray

model = AquilaNDArray(np.array([[1, 2], [0, 0], [1, 0], [1, 1], [2, 0], [2, 1]]))

Solving the Unit Disk Graph

import strangeworks as sw
from strangeworks_optimization import StrangeworksOptimizer
from strangeworks_optimization_models.problem_models import AquilaNDArray
from strangeworks_optimization_models.parameter_models import AquilaParameterModel
import numpy as np

sw.authenticate('your-api-key')

model = AquilaNDArray(np.array([[1, 2], [0, 0], [1, 0], [1, 1], [2, 0], [2, 1]]))

options = AquilaParameterModel(unit_disk_radius=1.68, shots=1000)

solver = "braket.aquila"

optimizer = StrangeworksOptimizer(model=model, solver=solver, options=options)
sw_job = optimizer.run()

print(f"Job slug: {sw_job.slug}")
print(f"Job status: {optimizer.status(sw_job.slug)}")

results = optimizer.results(sw_job.slug)

AquilaParameterModel

ParameterDescription
unit_disk_radiusRadius of interactions for specified graph
shotsNumber of shots to run