quchip.results.steady_state¶
Backend-neutral results for stationary Lindblad calculations.
Functions
|
Wrap one backend stationary solve without concretizing native arrays. |
|
Return the public expectation values of a stationary state from the solver's flat values. |
Classes
|
Immutable stationary results reshaped to their declared sweep grid. |
|
One normalized stationary density matrix and its diagnostics. |
- class quchip.results.steady_state.SteadyStateResult(state, residual, nullity, _condition_number, dims, device_info, stats, _backend, _expectations, frame=None, excitation_space=None, diagnostics=<factory>)[source]¶
Bases:
objectOne normalized stationary density matrix and its diagnostics.
- Variables:
state (backend state) – Stationary density matrix in the solver basis, or in the energy coordinates of
excitation_spacewhen that is set.residual (scalar) – Residual norm of the stationary equation.
nullity (scalar) – Null-space dimension of the trace-constrained generator.
dims (tuple of int) – Hilbert-space dimensions in chip order. With
excitation_space, they are the dimensions of its product space.device_info (tuple) –
(label, computational)records used by accessors.stats (mapping) – Backend solver statistics.
frame (ResolvedFrame or None) – Integration frame of the stationary state.
excitation_space (PulseSpace or None) – Retained product labels of
statewhen the solve kept only some of them, elseNone.diagnostics (mapping) – The solve’s route under
"route"and its name under"solver". A solve on excitation sectors adds its truncation entries.
- property condition_number: Any¶
Condition number of the trace-constrained generator, calculated on request.
- quchip.results.steady_state.build_steady_state_result(solver_result, problem, backend, *, diagnostics=None, space=None)[source]¶
Wrap one backend stationary solve without concretizing native arrays.
spaceholds the retained labels of a state that a route solved on fewer labels than the engine result has.Noneuses the engine result’s excitation space.
- quchip.results.steady_state.stationary_expectations(values, meta, frame, backend)[source]¶
Return the public expectation values of a stationary state from the solver’s flat values.
metais the metadata of the decomposede_ops, orNone, andframethe resolved frame whose demodulation the values take.
- class quchip.results.steady_state.SteadyStateBatchResult(results, *, shape=None, axes=None)[source]¶
Bases:
BatchResult[SteadyStateResult]Immutable stationary results reshaped to their declared sweep grid.
- Variables:
results (tuple of SteadyStateResult) – Per-point stationary results.
axes (tuple) – Named sweep-axis metadata.