Skip to main content

build_sequence_json

Function build_sequence_json 

Source
pub fn build_sequence_json(
    register: &[(String, [f64; 2])],
    device: PasqalDevice,
    params: EvolutionParams,
) -> Value
Expand description

Build a Pulser abstract-repr-compatible JSON for a constant-pulse evolution on a named 2D register. Best-effort for AnalogDevice with a single global Rydberg channel. Matches the stable subset of Pulser v0.15+ output.