Skip to content

Commit

Permalink
Eliminate direct dependency on QuantumPropagators
Browse files Browse the repository at this point in the history
It simplifies dependency resolution if we get QuantumPropagators through
QuantumControlBase
  • Loading branch information
goerz committed Feb 14, 2022
1 parent 32533dd commit fae9aa0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
ConcreteStructs = "2569d6c7-a4a2-43d3-a901-331e8e4be471"
QuantumControlBase = "f10a33bc-5a64-497c-be7b-6f86b4f0c2aa"
QuantumPropagators = "7bf12567-5742-4b91-a078-644e72a65fc1"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[compat]
QuantumControlBase = ">=0.1.0"
QuantumPropagators = ">=0.1.0"
ConcreteStructs = "^0.2"
julia = "1.6"
2 changes: 1 addition & 1 deletion src/optimize.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using QuantumPropagators: propstep!, write_to_storage!, get_from_storage!
using QuantumControlBase.QuantumPropagators: propstep!, write_to_storage!, get_from_storage!
using QuantumControlBase: evalcontrols!
using QuantumControlBase.ConditionalThreads: @threadsif
using LinearAlgebra
Expand Down
2 changes: 1 addition & 1 deletion src/workspace.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import QuantumControlBase
using QuantumControlBase:
getcontrols, getcontrolderivs, discretize_on_midpoints, evalcontrols
using QuantumPropagators: init_storage
using QuantumControlBase.QuantumPropagators: init_storage
using ConcreteStructs

# Krotov workspace (for internal use)
Expand Down

0 comments on commit fae9aa0

Please sign in to comment.