Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia v1.0 Compatibility Updates #9

Merged
merged 6 commits into from
Aug 19, 2018
14 changes: 7 additions & 7 deletions src/QuantumBayesian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ import Base.setindex!
import Base.ndims
import Base.indices
import Base.print_matrix
import Base.sub2ind
import Base.ind2sub
import Base.IteratorsMD
import Base.LinearIndices
import Base.map
import Base.mean
import Base.median
import Base.std
import Statistics.mean
import Statistics.median
import Statistics.std
###

#################################
Expand All @@ -46,7 +46,7 @@ abstract type QObj <: Any end
# Note implementation is light-weight, using mostly type aliases
# for the features in Base that do all the real work
const Time = Float64
const QComp = Complex128
const QComp = ComplexF64
const QName = AbstractString
const QOp = AbstractArray
const QKet = AbstractVector
Expand All @@ -69,7 +69,7 @@ include("QuantumEvolution.jl")
export Time, QObj, QComp, QInd, QName, QOp, QKet, QOps
# Quantum
export QFactor, QSpace, QView
export size, length, show, showarray, sub2ind, ind2sub, getindex, setindex!
export size, length, show, showarray, CartesianIndices, LinearIndices, getindex, setindex!
export name, factors, unview, subview
export superket, unsuperket, superopl, superopr
export ⊗, lift, ptrace, bra
Expand Down