-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hi! I was trying to compute a tensor product for two superoperators but it looks like we don't have dispatch for tensor()
that applies to ::SparseSuperOpType
using QuantumOpticsBase
sOp1 = spre(create(FockBasis(1)))
sOp2 = spost(create(FockBasis(1)))
julia> sOp1⊗sOp2
ERROR: MethodError: no method matching tensor(::SparseSuperOpType{Tuple{FockBasis{Int64}, FockBasis{Int64}}, Tuple{FockBasis{Int64}, FockBasis{Int64}}, SparseArrays.SparseMatrixCSC{ComplexF64, Int64}}, ::SparseSuperOpType{Tuple{FockBasis{Int64}, FockBasis{Int64}}, Tuple{FockBasis{Int64}, FockBasis{Int64}}, SparseArrays.SparseMatrixCSC{ComplexF64, Int64}})
Stacktrace:
[1] top-level scope
@ REPL[1]:1
Metadata
Metadata
Assignees
Labels
No labels