Skip to content

Commit

Permalink
Don't export ChoiState for now
Browse files Browse the repository at this point in the history
  • Loading branch information
akirakyle committed Nov 15, 2024
1 parent a3ed53c commit 116b416
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/QuantumOpticsBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export Basis, GenericBasis, CompositeBasis, basis,
current_time, time_shift, time_stretch, time_restrict, static_operator,
#superoperators
SuperOperator, DenseSuperOperator, DenseSuperOpType,
SparseSuperOperator, SparseSuperOpType, ChoiState,
spre, spost, sprepost, liouvillian, identitysuperoperator,
SparseSuperOperator, SparseSuperOpType, spre, spost, sprepost, liouvillian,
identitysuperoperator,
#fock
FockBasis, number, destroy, create,
fockstate, coherentstate, coherentstate!,
Expand Down
1 change: 0 additions & 1 deletion src/superoperators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ mutable struct ChoiState{B1,B2,T} <: AbstractSuperOperator{B1,B2}
new(basis_l, basis_r, data)
end
end
ChoiState{BL,BR}(b1::BL, b2::BR, data::T) where {BL,BR,T} = ChoiState{BL,BR,T}(b1, b2, data)
ChoiState(b1::BL, b2::BR, data::T) where {BL,BR,T} = ChoiState{BL,BR,T}(b1, b2, data)

dense(a::ChoiState) = ChoiState(a.basis_l, a.basis_r, Matrix(a.data))
Expand Down
1 change: 1 addition & 0 deletions test/test_superoperators.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Test
using QuantumOpticsBase
using SparseArrays, LinearAlgebra
import QuantumOpticsBase: ChoiState # Remove when ChoiState is publicly exported

@testset "superoperators" begin

Expand Down

0 comments on commit 116b416

Please sign in to comment.