solve_time_segment_sequence
- solve_time_segment_sequence(solver, y0s, noise_coeffs, time_segment_sequence, method, batch_size, verbose, rng=None)
Solve a sequence of time segments and concatenate the results.
- Parameters:
solver (
Solver) – Solver instance used for all segments.y0s – Initial states or operators, one per simulated shot.
noise_coeffs – Shot-dependent noise strengths aligned with
y0s.time_segment_sequence – Prepared time segments to be simulated in order.
method (
str) – Low-level integration method passed through toSolver.solve_batch().batch_size (
int|None) – Optional shot-batch size for batched JAX simulation.verbose (
bool) – IfTrue, print a short summary for each simulated segment.rng – Optional simulation-local random number generator used for jittered time-grid construction.
- Return type:
- Returns:
Solver result aggregating the trajectories across all segments.
- Raises:
SimphonyError – If a segment declares an unknown simulation method.