Skip to content

Commit 10c3e6a

Browse files
Update src/problem_templates/smooth_pulse_problem.jl
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a362aa4 commit 10c3e6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/problem_templates/smooth_pulse_problem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ use `SplinePulseProblem` instead.
188188
- `N::Int`: Number of timesteps for the discretization
189189
190190
# Keyword Arguments
191-
- `integrator::Union{Nothing, AbstractIntegrator, Vector{<:AbstractIntegrator}}=nothing`: Optional custom integrator(s). If not provided, uses BilinearIntegrator. Required when `global_names` is specified.
192-
- `global_names::Union{Nothing, Vector{Symbol}}=nothing`: Names of global variables to optimize. Requires a custom integrator (e.g., HermitianExponentialIntegrator from Piccolissimo) that supports global variables.
191+
- `integrator::Union{Nothing, AbstractIntegrator, Vector{<:AbstractIntegrator}}=nothing`: Optional custom integrator(s). If not provided, the default `BilinearIntegrator` is used. When `global_names` is specified, you must supply a custom integrator here (i.e., do not rely on the default `BilinearIntegrator`) that supports global variables.
192+
- `global_names::Union{Nothing, Vector{Symbol}}=nothing`: Names of global variables to optimize. Requires a custom integrator provided via `integrator` (e.g., `HermitianExponentialIntegrator` from Piccolissimo) that supports global variables.
193193
- `global_bounds::Union{Nothing, Dict{Symbol, Union{Float64, Tuple{Float64, Float64}}}}=nothing`: Bounds for global variables. Keys are variable names, values are either a scalar (symmetric bounds ±value) or a tuple (lower, upper).
194194
- `du_bound::Float64=Inf`: Bound on discrete first derivative
195195
- `ddu_bound::Float64=1.0`: Bound on discrete second derivative

0 commit comments

Comments
 (0)