Skip to content

Commit

Permalink
Merge pull request qutip#58 from albertomercurio/albertomercurio-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
ytdHuang authored Apr 7, 2024
2 parents 0962198 + 9fadaf8 commit 96528e5
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 4 deletions.
11 changes: 9 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,26 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"

[compat]
DiffEqCallbacks = "2.24, <3.2.0, >=3.5.0"
Aqua = "0.6, 0.7, 0.8"
DiffEqCallbacks = "2.24, 3"
Distributed = "<0.0.1, 1"
FFTW = "1.5"
Graphs = "1.7.4"
IncompleteLU = "0.2"
LinearAlgebra = "<0.0.1, 1"
LinearMaps = "3"
LinearSolve = "2"
OrdinaryDiffEq = "6.30"
Random = "<0.0.1, 1"
Reexport = "1"
SparseArrays = "<0.0.1, 1"
SpecialFunctions = "2.2"
Test = "<0.0.1, 1"
julia = "1.7"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"

[targets]
test = ["Test"]
test = ["Test", "Aqua"]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://albertomercurio.github.io/QuantumToolbox.jl/dev)
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://albertomercurio.github.io/QuantumToolbox.jl/stable)
[![Build Status](https://github.com/albertomercurio/QuantumToolbox.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/albertomercurio/QuantumToolbox.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
[![Coverage](https://codecov.io/gh/albertomercurio/QuantumToolbox.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/albertomercurio/QuantumToolbox.jl)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10822817.svg)](https://doi.org/10.5281/zenodo.10822817)

Expand Down
2 changes: 1 addition & 1 deletion src/QuantumToolbox.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export tensor, ⊗
export sinm, cosm
export expect
export WignerClenshaw, WignerLaguerre, wigner
export row_major_reshape, tidyup, tidyup!, gaussian, trunc_op, meshgrid, sparse_to_dense, dense_to_sparse
export row_major_reshape, tidyup, tidyup!, gaussian, meshgrid, sparse_to_dense, dense_to_sparse
export get_data, mat2vec, vec2mat
export ptrace, entropy_vn, entanglement
export negativity, partial_transpose
Expand Down
2 changes: 1 addition & 1 deletion src/time_evolution/lr_mesolve.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export lr_mesolve, lr_mesolveProblem, lr_mesolveOptions, LRTimeEvolutionSol, LRMesolveOptions
export lr_mesolve, lr_mesolveProblem, LRTimeEvolutionSol, LRMesolveOptions

#=======================================================#
# STRUCT DEFINITIONS
Expand Down
3 changes: 3 additions & 0 deletions test/aqua.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@testset "Code quality (Aqua.jl)" begin
Aqua.test_all(QuantumToolbox; ambiguities = false,)
end
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
using Test
using QuantumToolbox
using Aqua

const GROUP = get(ENV, "GROUP", "All")

const testdir = dirname(@__FILE__)

# Put core tests in alphabetical order
core_tests = [
"aqua.jl",
"correlations_and_spectrum.jl",
"dynamical_fock_dimension_mesolve.jl",
"dynamical-shifted-fock.jl",
Expand Down

0 comments on commit 96528e5

Please sign in to comment.