solve_time_segment_basic

solve_time_segment_basic(solver, y0s, noise_coeffs, time_segment, method, batch_size, rng=None)

Solve a single time segment with uniform discretization.

Builds per-shot signal lists, integrates with the configured method, and returns a SolverResult containing the stacked solution array.

Parameters:
  • solver (Solver) – Solver instance used to propagate the segment.

  • y0s (List[ndarray | Array]) – Initial states or operators, one per simulated shot.

  • noise_coeffs (List[Sequence[float]]) – Shot-dependent noise strengths aligned with y0s.

  • time_segment – Prepared time segment containing the simulation grid and drive signals.

  • method (str) – Low-level integration method passed through to Solver.solve_batch().

  • batch_size (int | None) – Optional shot-batch size for batched simulation.

  • rng – Optional simulation-local random number generator used for jittered time-grid construction.

Return type:

SolverResult

Returns:

Solver result on time_segment.simulation.t_eval with the propagated states or operators stacked over shots.