From 3d63b385f5e236f5a8a3d062cd5690ccddef71e8 Mon Sep 17 00:00:00 2001 From: Andrew Kille <68079167+apkille@users.noreply.github.com> Date: Sun, 8 Sep 2024 14:51:25 -0400 Subject: [PATCH] Move several functions from QOBase (#29) Co-authored-by: Stefan Krastanov --- .github/workflows/changelog-enforcer.yml | 15 +++++++++++++++ CHANGELOG.md | 12 ++++++++++++ Project.toml | 2 +- src/QuantumInterface.jl | 14 ++++++++++++++ 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/changelog-enforcer.yml diff --git a/.github/workflows/changelog-enforcer.yml b/.github/workflows/changelog-enforcer.yml new file mode 100644 index 0000000..b7a2038 --- /dev/null +++ b/.github/workflows/changelog-enforcer.yml @@ -0,0 +1,15 @@ +name: "Changelog Enforcer" +on: + pull_request: + # The specific activity types are listed here to include "labeled" and "unlabeled" + # (which are not included by default for the "pull_request" trigger). + # This is needed to allow skipping enforcement of the changelog in PRs with specific labels, + # as defined in the (optional) "skipLabels" property. + types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] + +jobs: + # Enforces the update of a changelog file on every pull request + changelog: + runs-on: ubuntu-latest + steps: + - uses: dangoslen/changelog-enforcer@v3 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c5b04e..4c30de4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # News +## v0.3.6 - 2024-09-08 + +- Add `coherentstate`, `thermalstate`, `displace`, `squeeze`, `wigner`, previously from QuantumOptics. + +## v0.3.5 + +- Fix piracies and ambiguities in `nsubsystems` accumulated downstream in QuantumSavory. + +## v0.3.4 + +- Documentation build fix. + ## v0.3.3 - Add `nsubsystems` for computing the number of subsystems in a state. diff --git a/Project.toml b/Project.toml index b606412..d8b70c0 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "QuantumInterface" uuid = "5717a53b-5d69-4fa3-b976-0bf2f97ca1e5" authors = ["QuantumInterface.jl contributors"] -version = "0.3.5" +version = "0.3.6" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" diff --git a/src/QuantumInterface.jl b/src/QuantumInterface.jl index 9c3da51..34efa04 100644 --- a/src/QuantumInterface.jl +++ b/src/QuantumInterface.jl @@ -71,6 +71,20 @@ function projectZrand! end function reset_qubits! end +## +# Quantum optics specific +## + +function coherentstate end + +function thermalstate end + +function displace end + +function squeeze end + +function wigner end + include("bases.jl") include("abstract_types.jl")