quchip.engine¶
Engine pipeline: Chip → ResolvedFrame → EngineResult → SolveProblem.
The engine is the physics-to-solver layer. It owns no solvers and no backend-specific types, and produces structured, backend-agnostic descriptions that each backend converts to its own optimal form.
Responsibilities¶
quchip.engine.framesresolves aFrameSpecintoResolvedFrame(per-device frame frequencies, demodulation frequencies, and the frame mode).quchip.engine.assemblyassembles anEngineResultwith static terms, dynamic terms, and theirScalarModulationsignal programs. It applies 2π, rotating-frame subtraction, RWA band decomposition (Jaynes & Cummings 1963; Gambetta et al., PRA 74, 042318 (2006)).quchip.engine.excitationreads the excitation-number structure of a resolved chip into anExcitationStructure.quchip.engine.observablesdecomposes dict-forme_opsinto solver-ready bands and, after the solve, demodulates expectations back into the lab/control frame.quchip.engine.problempackages solve inputs (including collapse operators) into a frozenSolveProblemorSolveBatch.
Public API¶
simulate(): full pipeline + solve + wrap result.build_problem(): assemble and package aSolveProblem.solve_problem(): dispatch aSolveProblemthrough the chip’s backend.solve_batch()/solve_many(): batched dispatch.
Functions
|
Assemble a |
|
Resolve, assemble, and package a frozen |
|
Build a frozen static Lindblad steady-state request. |
|
Build a |
|
Dispatch a |
|
Solve a native batch or an ordered collection of captured requests. |
|
Dispatch a |
|
Solve a chip's unique static Lindblad steady state. |
|
Solve static Lindblad steady states over parameter axes. |
Modules
Engine-side operations owned by explicit approximation strategies. |
|
Assemble an |
|
Band decomposition by excitation-change weight. |
|
Local energy-basis resolution and explicit transformation records. |
|
Weak-probe commutator sources for a frozen dressed reference. |
|
Assign dressed eigenvectors to bare or eigenstate references, and build dressed results. |
|
Excitation-number structure of resolved chips. |
|
Thermal input fields in the instantaneous network's physical channel basis. |
|
Stationary output statistics and their propagation through resolved wiring. |
|
Resolve integration frames and observable-demodulation frequencies. |
|
Backend-neutral input-output assembly for stationary port calculations. |
|
IR types shared by engine responsibilities and backends. |
|
Structural lowering for exact passive-linear input-output response. |
|
Select declared physical channels for continuous diffusive monitoring. |
|
Band-decompose dict-form |
|
Acyclic reference transformations downstream of the Markovian boundary. |
|
Partition-aware dispatch for |
|
Package engine physics and solve inputs into frozen solve requests. |
|
Invariant excitation spaces for deterministic evolution. |
|
Reference-plane transforms applied outside the Markovian core. |
|
Choose how stationary and static calculations solve, and record the reason. |
|
Automatic output sampling over captured physics, separate from solver steps. |
|
Stationary states and output statistics of excitation-conserving chips on sectors. |
|
Excitation sectors and cutoff classes of a chip's static model. |
|
Gough-James algebra on resolved SLH triples: series product, concatenation, feedback. |
|
Advisory solver-hint heuristics (post-assembly metadata only). |
|
State preparation in the solver basis. |
|
Build and solve backend-neutral stationary Lindblad problems. |
|
Captured physical cutoff checks, sampled without storing state histories. |