Neutral Atom Toolkit
From an experiment you want to run to a measured result on a neutral-atom
quantum computer, without first learning Pulser, the emulator stack, or how
hardware access works.
An idea is enough to start: describe what you want to measure. A paper, a patent
or a PDF you want to reproduce is one way of having such an idea, not the only
one. If the idea is still a vague interest, or a problem from your own field
rather than an experiment, the first step is a conversation that turns it into
one: which documented method could serve it, and whether one does at all. What
comes back is a specification you can review, a working Pulser
sequence, an emulation that says whether the signal survives the device's noise,
a costed submission you approve before anything is spent, and an analysis that
puts the hardware next to the prediction.
You keep every scientific decision. The machine-facing work is what this hands
off.
From an idea to a result
| You provide | You get |
|---|
| 0. Frame it (if you need it) | an application, a problem or a hunch, in your own words — a selection to make, data to classify, a phenomenon you are curious about | a conversation that ends in <name>_idea.md: at most three documented methods with their maturity and their risks, what would be measured, what size is checkable — or a reasoned "no documented fit", with what would change it |
| 1. Specify | the experiment you want, described in your own words, or a paper, patent or PDF to reproduce | <name>_spec.json: register, pulses, observable, and every question your description or source left open |
| 2. Implement | your review of that spec | <name>_sequence.py: Pulser code that self-tests against states whose value is known by hand |
| 3. Emulate | nothing for the local run; an account to emulate at the real register size | the scan, noiseless and noisy, and a go/no-go on whether the signal is worth hardware time |
| 4. Submit | your go-ahead on an itemised shot count | batch IDs on a QPU, or jobs on a cluster |
| 5. Analyse | those batch IDs | raw bitstrings, your observable applied to them, and how far the hardware sits from the prediction |
Every row leaves a plain file on your disk that you can open, correct and re-run,
and you can enter at any row: bring your own sequence and ask for step 3, or
bring batch IDs and ask for step 5. Those files are ordinary ones: a JSON spec, a
Python file exporting two functions, and one JSON of raw bitstrings per scan
point. compute_observable(counts: dict[str, int]) -> float takes shot data and
nothing else, so re-analysing a run, replotting it or publishing it never touches
a vendor library again.
Sequence code is Pulser, Apache-2.0 and a
pip install away; specifying, generating and emulating an experiment needs no
account and no service.
Concretely, this repository is a set of agent skills:
instructions and tested scripts that a coding agent loads when they are relevant.
You install them into the agent you already use.
Who it is for
Researchers who can formulate and judge a scientific question and are comfortable
with Python and a coding agent. Internal or external, running a protocol of your
own or reproducing published work.
What the agent takes off your hands: finding the device limits, writing the
register and pulse code, wiring the observable, running emulations, assembling
the submission, collecting and comparing results.
What stays yours: the objective, the structuring assumptions, whether the
observable can resolve the physics, the reading of the results, and the decision
to spend anything. The agent proposes, states what it assumed, and asks when the
source does not say. A workflow that runs cleanly is not evidence that the
physics is right.
Before you install
You need:
- Python with
pulser (plus numpy/scipy/matplotlib). That alone is
enough to specify an experiment, generate a sequence, and emulate it locally.
You should know:
- QPU shots are metered and a submitted batch cannot be recalled. The
submission script prints the full shot count — with the project it would be
billed to and that project's remaining credits — and exits rather than run
until you have approved it.
- Being logged in is not permission to spend. Credentials found on the
machine are shown to you, and the project is one you pick: the scripts that
spend refuse to run on the project id that happens to be in your
environment.
Install