Skip to content

Commit fe245cb

Browse files
committed
Fix missing test dependencies and downgrade bounds
1 parent c470242 commit fe245cb

4 files changed

Lines changed: 31 additions & 12 deletions

File tree

Project.toml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,36 @@ QuantumInterface = "5717a53b-5d69-4fa3-b976-0bf2f97ca1e5"
1414
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1515
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
1616
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
17+
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
1718
Strided = "5e0ebb24-38b0-5f93-81fe-25c709ecae67"
1819
UnsafeArrays = "c4a57d5a-5b31-53a6-b365-19f8c011fbd6"
1920

2021
[weakdeps]
2122
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
22-
23+
MKL_jll = "856f044c-d86e-5d09-b602-aeab76dc8ba7"
24+
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
25+
SciMLOperators = "c0aeaf25-5076-4817-a8d5-81caf7dfa961"
26+
2327
[extensions]
2428
QuantumOpticsBaseMakieExt = ["Makie"]
25-
29+
2630
[compat]
27-
Adapt = "3.3, 4"
28-
FFTW = "1.2"
31+
Adapt = "4.1"
32+
FFTW = "1.3.2"
2933
FastExpm = "1.1.0"
3034
FastGaussQuadrature = "0.5, 1"
3135
FillArrays = "1.9"
3236
LRUCache = "1"
3337
LinearAlgebra = "1"
3438
Makie = "0.24"
39+
MKL_jll = "2021.1.1"
3540
QuantumInterface = "0.4"
3641
Random = "1"
37-
RecursiveArrayTools = "3.1, 4"
42+
RecursiveArrayTools = "3.36, 4"
43+
SciMLBase = "2.102.1, 3"
44+
SciMLOperators = "1.9"
3845
SparseArrays = "1"
46+
SpecialFunctions = "2.1.4"
3947
Strided = "1, 2"
4048
UnsafeArrays = "1"
41-
julia = "1.10"
49+
julia = "1.10"

docs/src/api.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,14 @@ ChiMatrix
647647
DenseChiMatrix
648648
```
649649

650+
## [Visualization](@id API: Visualization)
651+
652+
```@docs
653+
blochsphereplot
654+
blochsphereplot!
655+
blochsphereplot_axis
656+
```
657+
650658
## [Printing](@id API: Printing)
651659

652660
```@docs

test/Project.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
77
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
88
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
99
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
10-
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
10+
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
11+
OrdinaryDiffEqLowOrderRK = "1344f307-1e59-4825-a18e-ace9aa3fa4c6"
1112
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
1213
QuantumInterface = "5717a53b-5d69-4fa3-b976-0bf2f97ca1e5"
1314
QuantumOptics = "6e0679c1-51ea-5a7c-ac74-d61b76210b0c"
1415
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
16+
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1517
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1618
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
1719
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1820
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
19-
UnsafeArrays = "c4a57d5a-5b31-53a6-b365-19f8c011fbd6"
21+
UnsafeArrays = "c4a57d5a-5b31-53a6-b365-19f8c011fbd6"

test/test_sciml_broadcast_interfaces.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@testitem "test_sciml_broadcast_interfaces" begin
22
using Test
33
using QuantumOptics
4-
using OrdinaryDiffEq
4+
using SciMLBase
5+
using OrdinaryDiffEqLowOrderRK: DP5
56

67
@testset "sciml interface" begin
78

@@ -22,7 +23,7 @@ prob_data! = ODEProblem(schrod_data!, u0, (t₀, t₁))
2223
sol = solve(prob!, DP5(); reltol = 1.0e-8, abstol = 1.0e-10, save_everystep=false)
2324
sol_data = solve(prob_data!, DP5(); reltol = 1.0e-8, abstol = 1.0e-10, save_everystep=false)
2425

25-
@test sol[end].data sol_data[end]
26+
@test sol.u[end].data sol_data.u[end]
2627

2728
# dense operator ODE problem
2829
σ₋ = sigmam(ℋ)
@@ -59,7 +60,7 @@ prob_data! = ODEProblem(lind_data!, m0, (t₀, t₁))
5960
sol = solve(prob!, DP5(); reltol = 1.0e-8, abstol = 1.0e-10, save_everystep=false)
6061
sol_data = solve(prob_data!, DP5(); reltol = 1.0e-8, abstol = 1.0e-10, save_everystep=false)
6162

62-
@test sol[end].data sol_data[end]
63+
@test sol.u[end].data sol_data.u[end]
6364

6465
end
65-
end
66+
end

0 commit comments

Comments
 (0)