Skip to content

Commit 05b3702

Browse files
committed
Depend only on QuantumControlBase
1 parent 7555c63 commit 05b3702

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

Project.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,19 @@ LocalCoverage = "5f6e1e16-694c-5876-87ef-16b5274f298e"
1111
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
1212
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
1313
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
14-
QuantumControl = "8a270532-f23f-47a8-83a9-b33d10cad486"
14+
QuantumControlBase = "f10a33bc-5a64-497c-be7b-6f86b4f0c2aa"
1515
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1616
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1717

1818
[compat]
1919
BenchmarkTools = "1.3"
2020
Coverage = "1.4"
21+
LinearAlgebra = "1"
2122
LocalCoverage = "0.6"
23+
Logging = "1"
2224
PrettyTables = "0.12, 1.0, 2"
23-
QuantumControl = ">=0.8"
25+
Printf = "1"
26+
QuantumControlBase = ">=0.9.1"
27+
Random = "1"
28+
SparseArrays = "1"
2429
julia = "1.9"

src/dummy_problem.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ using Random
66
using Printf
77
using LinearAlgebra
88

9-
using QuantumControl.Controls: get_controls, discretize, discretize_on_midpoints
10-
using QuantumControl: Trajectory, ControlProblem
11-
import QuantumControl
9+
using QuantumControlBase.QuantumPropagators.Controls:
10+
get_controls, discretize, discretize_on_midpoints
11+
using QuantumControlBase: Trajectory, ControlProblem
12+
import QuantumControlBase
1213

1314
using ..RandomObjects: random_matrix, random_state_vector
1415

@@ -242,7 +243,7 @@ function optimize_with_dummy_method(problem)
242243
end
243244

244245

245-
QuantumControl.optimize(problem, method::Val{:dummymethod}) =
246+
QuantumControlBase.optimize(problem, method::Val{:dummymethod}) =
246247
optimize_with_dummy_method(problem)
247248

248249

src/random.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ using Random
44
using LinearAlgebra
55
using SparseArrays
66

7-
using QuantumControl.Generators: Generator
7+
using QuantumControlBase.QuantumPropagators.Generators: Generator
88

99
export random_state_vector, random_matrix, random_dynamic_generator
1010

0 commit comments

Comments
 (0)