Skip to content

Commit

Permalink
edits
Browse files Browse the repository at this point in the history
  • Loading branch information
aarontrowbridge committed Jul 10, 2023
1 parent 2c721ac commit 8369319
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/problem_templates.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ function UnitarySmoothPulseProblem(

if free_time
integrators = [
UnitaryPadeIntegrator(system, :Ũ⃗, :a, :Δt),
DerivativeIntegrator(:a, :da, :Δt, traj),
DerivativeIntegrator(:da, :dda, :Δt, traj),
UnitaryPadeIntegrator(system, :Ũ⃗, :a),
DerivativeIntegrator(:a, :da, traj),
DerivativeIntegrator(:da, :dda, traj),
]
else
integrators = [
Expand Down Expand Up @@ -451,14 +451,14 @@ function QuantumStateSmoothPulseProblem(
if free_time

ψ̃_integrators = [
QuantumStatePadeIntegrator(system, Symbol("ψ̃$i"), :a, :Δt)
QuantumStatePadeIntegrator(system, Symbol("ψ̃$i"), :a)
for i = 1:length(ψ_inits)
]

integrators = [
ψ̃_integrators...,
DerivativeIntegrator(:a, :da, :Δt, traj),
DerivativeIntegrator(:da, :dda, :Δt, traj)
DerivativeIntegrator(:a, :da, traj),
DerivativeIntegrator(:da, :dda, traj)
]
else
ψ̃_integrators = [
Expand Down

0 comments on commit 8369319

Please sign in to comment.