MockNeutralAtomTarget¶
from cascaqit import MockNeutralAtomTarget
MockNeutralAtomTarget ¶
Create deterministic local target specifications for validation, compilation and teaching. Call the static factories directly; no instance is needed. None supports live hardware or cloud submission. A target’s max_atoms and a simulator kernel’s supported size are separate limits.
from cascaqit import MockNeutralAtomTarget
target = MockNeutralAtomTarget.v0_1()
assert target.max_atoms == 16
assert target.capabilities["hardware_submit"] == "unsupported"
assert "interpolated" in MockNeutralAtomTarget.v0_2().supported_waveforms
Return the conservative target: at most 16 atoms, x/y coordinates from −50 to 50 μm, minimum spacing 3 μm, time resolution 0.001 μs and 1–10000 shots. Supported waveforms are constant, linear, piecewise_constant and piecewise_linear, with global Rydberg drive; local detuning and local Rabi are unsupported. Read the returned TargetSpec for full ranges and typed capabilities.
Extend v0_1 with interpolated waveforms using PCHIP and a distinct target ID. This does not add the experimental local controls of local_ahs.
Return the experimental local AHS target with local detuning, local Rabi and phase patterns. Addressing supports static SitePattern and static/piecewise SiteMask, with step interpolation for masks. The specification also declares local-channel timing and crosstalk constraints. Local/global Rabi overlap requires calibration; no numeric overlap bound is supplied.
Return a specification declaring Raman and DMM controls: Raman is unsupported and DMM is ir_only. These declarations support representation and compilation checks, not execution of those controls.