Skip to content

Commit

Permalink
Remove QuantumControlBase
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Sep 2, 2024
1 parent 942a563 commit f307234
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LocalCoverage = "5f6e1e16-694c-5876-87ef-16b5274f298e"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
QuantumControlBase = "f10a33bc-5a64-497c-be7b-6f86b4f0c2aa"
QuantumControl = "8a270532-f23f-47a8-83a9-b33d10cad486"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

Expand All @@ -23,7 +23,7 @@ LocalCoverage = "0.6"
Logging = "1"
PrettyTables = "0.12, 1.0, 2"
Printf = "1"
QuantumControlBase = ">=0.9.1"
QuantumControl = ">=0.10.0"
Random = "1"
SparseArrays = "1"
julia = "1.9"
8 changes: 4 additions & 4 deletions src/dummy_problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ using Random
using Printf
using LinearAlgebra

using QuantumControlBase.QuantumPropagators.Controls:
using QuantumControl.QuantumPropagators.Controls:
get_controls, discretize, discretize_on_midpoints
using QuantumControlBase: Trajectory, ControlProblem
import QuantumControlBase
using QuantumControl: Trajectory, ControlProblem
import QuantumControl

using ..RandomObjects: random_matrix, random_state_vector

Expand Down Expand Up @@ -243,7 +243,7 @@ function optimize_with_dummy_method(problem)
end


QuantumControlBase.optimize(problem, method::Val{:dummymethod}) =
QuantumControl.optimize(problem, method::Val{:dummymethod}) =
optimize_with_dummy_method(problem)


Expand Down
2 changes: 1 addition & 1 deletion src/random.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using Random
using LinearAlgebra
using SparseArrays

using QuantumControlBase.QuantumPropagators.Generators: Generator
using QuantumControl.QuantumPropagators.Generators: Generator

export random_state_vector, random_matrix, random_dynamic_generator

Expand Down
1 change: 0 additions & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589"
LocalCoverage = "5f6e1e16-694c-5876-87ef-16b5274f298e"
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
QuantumControl = "8a270532-f23f-47a8-83a9-b33d10cad486"
QuantumControlBase = "f10a33bc-5a64-497c-be7b-6f86b4f0c2aa"
QuantumControlTestUtils = "d3fd27c9-1dfb-4e67-b0c0-90d0d87a1e48"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
Expand Down

0 comments on commit f307234

Please sign in to comment.