From b12315ea9844b0595d987921e39363665f02e404 Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sun, 25 Dec 2022 19:05:06 -0500 Subject: [PATCH] Rename to QuantumSymbolics --- .github/workflows/ci-julia-nightly.yml | 2 +- .github/workflows/ci.yml | 2 +- LICENSE | 2 +- Project.toml | 4 ++-- QSymbolicsBase/LICENSE | 2 +- QSymbolicsBase/Project.toml | 2 +- QSymbolicsClifford/LICENSE | 2 +- QSymbolicsClifford/Project.toml | 2 +- QSymbolicsOptics/LICENSE | 2 +- QSymbolicsOptics/Project.toml | 2 +- README.md | 10 +++++----- src/{QSymbolics.jl => QuantumSymbolics.jl} | 2 +- test/runtests.jl | 2 +- test/test_aqua.jl | 4 ++-- test/test_express_cliff.jl | 2 +- test/test_express_opt.jl | 2 +- test/test_jet.jl | 4 ++-- test/test_qo_qc_interop.jl | 4 ++-- test/test_sym_expressions.jl | 2 +- 19 files changed, 27 insertions(+), 27 deletions(-) rename src/{QSymbolics.jl => QuantumSymbolics.jl} (93%) diff --git a/.github/workflows/ci-julia-nightly.yml b/.github/workflows/ci-julia-nightly.yml index c68fbe4..36bfd59 100644 --- a/.github/workflows/ci-julia-nightly.yml +++ b/.github/workflows/ci-julia-nightly.yml @@ -43,7 +43,7 @@ jobs: run: | using Pkg; pkg"dev . ./QSymbolicsBase ./QSymbolicsClifford ./QSymbolicsOptics" - Pkg.test("QSymbolics"; coverage=true) + Pkg.test("QuantumSymbolics"; coverage=true) env: JULIA_NUM_THREADS: ${{ matrix.threads }} QSYMBOLICS_JET_TEST: ${{ matrix.jet }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a59b7e7..cbcb51f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: run: | using Pkg; pkg"dev . ./QSymbolicsBase ./QSymbolicsClifford ./QSymbolicsOptics" - Pkg.test("QSymbolics"; coverage=true) + Pkg.test("QuantumSymbolics"; coverage=true) env: JULIA_NUM_THREADS: ${{ matrix.threads }} - uses: julia-actions/julia-processcoverage@v1 diff --git a/LICENSE b/LICENSE index f587e91..9b78c9b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 QSymbolics.jl contributors +Copyright (c) 2022 QuantumSymbolics.jl contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Project.toml b/Project.toml index aa19d90..886bdc6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ -name = "QSymbolics" +name = "QuantumSymbolics" uuid = "efa7fd63-0460-4890-beb7-be1bbdfbaeae" -authors = ["QSymbolics.jl contributors"] +authors = ["QuantumSymbolics.jl contributors"] version = "0.1.0" [deps] diff --git a/QSymbolicsBase/LICENSE b/QSymbolicsBase/LICENSE index f587e91..9b78c9b 100644 --- a/QSymbolicsBase/LICENSE +++ b/QSymbolicsBase/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 QSymbolics.jl contributors +Copyright (c) 2022 QuantumSymbolics.jl contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/QSymbolicsBase/Project.toml b/QSymbolicsBase/Project.toml index 3478f09..17a499b 100644 --- a/QSymbolicsBase/Project.toml +++ b/QSymbolicsBase/Project.toml @@ -1,6 +1,6 @@ name = "QSymbolicsBase" uuid = "a8697a1a-c835-4068-9491-e8abc49d0056" -authors = ["QSymbolics.jl contributors"] +authors = ["QuantumSymbolics.jl contributors"] version = "0.1.0" [deps] diff --git a/QSymbolicsClifford/LICENSE b/QSymbolicsClifford/LICENSE index f587e91..9b78c9b 100644 --- a/QSymbolicsClifford/LICENSE +++ b/QSymbolicsClifford/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 QSymbolics.jl contributors +Copyright (c) 2022 QuantumSymbolics.jl contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/QSymbolicsClifford/Project.toml b/QSymbolicsClifford/Project.toml index ef98a3e..29cebfb 100644 --- a/QSymbolicsClifford/Project.toml +++ b/QSymbolicsClifford/Project.toml @@ -1,6 +1,6 @@ name = "QSymbolicsClifford" uuid = "3bf15ae1-300d-4269-a8e5-03a020b0328d" -authors = ["QSymbolics.jl contributors"] +authors = ["QuantumSymbolics.jl contributors"] version = "0.1.0" [deps] diff --git a/QSymbolicsOptics/LICENSE b/QSymbolicsOptics/LICENSE index f587e91..9b78c9b 100644 --- a/QSymbolicsOptics/LICENSE +++ b/QSymbolicsOptics/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 QSymbolics.jl contributors +Copyright (c) 2022 QuantumSymbolics.jl contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/QSymbolicsOptics/Project.toml b/QSymbolicsOptics/Project.toml index f3f3940..be2586d 100644 --- a/QSymbolicsOptics/Project.toml +++ b/QSymbolicsOptics/Project.toml @@ -1,6 +1,6 @@ name = "QSymbolicsOptics" uuid = "3c38c10f-068b-409d-8b1c-aa4375858705" -authors = ["QSymbolics.jl contributors"] +authors = ["QuantumSymbolics.jl contributors"] version = "0.1.0" [deps] diff --git a/README.md b/README.md index 4fe0dfc..601913b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# QSymbolics +# QuantumSymbolics Computer algebra tools for symbolic manipulations in quantum mechanics and quantum information. @@ -6,20 +6,20 @@ Computer algebra tools for symbolic manipulations in quantum mechanics and quant Documentation - Documentation of latest stable version - Documentation of dev version + Documentation of latest stable version + Documentation of dev version Continuous integration - GitHub Workflow Status + GitHub Workflow Status Code coverage - Test coverage from codecov + Test coverage from codecov diff --git a/src/QSymbolics.jl b/src/QuantumSymbolics.jl similarity index 93% rename from src/QSymbolics.jl rename to src/QuantumSymbolics.jl index 84f5df7..ea4e821 100644 --- a/src/QSymbolics.jl +++ b/src/QuantumSymbolics.jl @@ -1,4 +1,4 @@ -module QSymbolics +module QuantumSymbolics using Reexport diff --git a/test/runtests.jl b/test/runtests.jl index 3ec11ed..4706e2c 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,5 @@ using SafeTestsets -using QSymbolics +using QuantumSymbolics using QSymbolicsBase function doset(descr) diff --git a/test/test_aqua.jl b/test/test_aqua.jl index ab45208..7a49dab 100644 --- a/test/test_aqua.jl +++ b/test/test_aqua.jl @@ -1,6 +1,6 @@ -using Aqua, QSymbolics, QSymbolicsBase, QSymbolicsOptics, QSymbolicsClifford, Test +using Aqua, QuantumSymbolics, QSymbolicsBase, QSymbolicsOptics, QSymbolicsClifford, Test -Aqua.test_all(QSymbolics,ambiguities=false) +Aqua.test_all(QuantumSymbolics,ambiguities=false) Aqua.test_all(QSymbolicsBase,ambiguities=false) Aqua.test_all(QSymbolicsOptics,ambiguities=false) Aqua.test_all(QSymbolicsClifford,ambiguities=false) diff --git a/test/test_express_cliff.jl b/test/test_express_cliff.jl index ecc1858..e4c584d 100644 --- a/test/test_express_cliff.jl +++ b/test/test_express_cliff.jl @@ -1,5 +1,5 @@ using Test -using QSymbolics +using QuantumSymbolics using QuantumClifford state = StabilizerState(S"ZZ XX") diff --git a/test/test_express_opt.jl b/test/test_express_opt.jl index 2576150..0285633 100644 --- a/test/test_express_opt.jl +++ b/test/test_express_opt.jl @@ -1,5 +1,5 @@ using Test -using QSymbolics +using QuantumSymbolics state = 1im*X2⊗Z1+2*Y1⊗(Z2+X2)+StabilizerState("XZ YY") express(state) diff --git a/test/test_jet.jl b/test/test_jet.jl index d14c818..5b46499 100644 --- a/test/test_jet.jl +++ b/test/test_jet.jl @@ -1,4 +1,4 @@ -using QSymbolics, QSymbolicsBase, QSymbolicsOptics, JET +using QuantumSymbolics, QSymbolicsBase, QSymbolicsOptics, JET using JET: ReportPass, BasicPass, InferenceErrorReport, UncaughtExceptionReport @@ -34,7 +34,7 @@ rep_cliff = report_package("QSymbolicsClifford"; @show rep_cliff @test_broken length(JET.get_reports(rep_cliff)) == 0 -rep = report_package("QSymbolics"; +rep = report_package("QuantumSymbolics"; report_pass=MayThrowIsOk(), # TODO have something more fine grained than a generic "do not care about thrown errors" ) @show rep diff --git a/test/test_qo_qc_interop.jl b/test/test_qo_qc_interop.jl index 360f27e..cdec251 100644 --- a/test/test_qo_qc_interop.jl +++ b/test/test_qo_qc_interop.jl @@ -1,7 +1,7 @@ using Test -using QSymbolics +using QuantumSymbolics using QSymbolicsOptics: _h, _l, _s₊, _s₋, _i₊, _i₋ -using QSymbolics: stab_to_ket +using QuantumSymbolics: stab_to_ket using QuantumClifford: @S_str, random_stabilizer using LinearAlgebra diff --git a/test/test_sym_expressions.jl b/test/test_sym_expressions.jl index 689b63a..1bbd479 100644 --- a/test/test_sym_expressions.jl +++ b/test/test_sym_expressions.jl @@ -1,5 +1,5 @@ using Test -using QSymbolics +using QuantumSymbolics @test +(Z1) == Z1 @test +(Z) == Z