-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from foldfelis-QO/revise
Revise
- Loading branch information
Showing
15 changed files
with
170 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "QuantumStateBase" | ||
uuid = "73ce9c4f-35d1-4161-b9e6-26915895bfed" | ||
authors = ["JingYu Ning <[email protected]> and contributors"] | ||
version = "1.0.3" | ||
version = "1.1.0" | ||
|
||
[deps] | ||
ClassicalOrthogonalPolynomials = "b30e2e7b-c4ee-47da-9d5f-2c5c27239acd" | ||
|
@@ -11,7 +11,7 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | |
Mmap = "a63ad114-7e13-5084-954f-fe012c677804" | ||
|
||
[compat] | ||
ClassicalOrthogonalPolynomials = "0.4" | ||
ClassicalOrthogonalPolynomials = "0.5" | ||
DataDeps = "0.7" | ||
KernelDensity = "0.6" | ||
julia = "1.6" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
### A Pluto.jl notebook ### | ||
# v0.16.1 | ||
|
||
using Markdown | ||
using InteractiveUtils | ||
|
||
# ╔═╡ 120da254-1c28-11ec-1938-a55c8cde5727 | ||
using Pkg; Pkg.develop(path=".."); Pkg.activate("..") | ||
|
||
# ╔═╡ c99f9fc5-0ab1-444a-80f6-b5241edf2f8f | ||
begin | ||
using QuantumStateBase | ||
using Plots | ||
using LinearAlgebra | ||
end | ||
|
||
# ╔═╡ db69bedc-2803-4268-9f56-34e4a88a324e | ||
state = SqueezedThermalState(Complex{Float64}, ξ(0.5, π/4), 0.5, ) | ||
|
||
# ╔═╡ cd19d00d-bf2b-479d-8c88-493311d97303 | ||
d = gaussian_state_sampler(Float64, state, 4096) | ||
|
||
# ╔═╡ b9ea40f4-1ed1-4862-8858-be07f2c04633 | ||
scatter(d[1, :], d[2, :]) | ||
|
||
# ╔═╡ Cell order: | ||
# ╟─120da254-1c28-11ec-1938-a55c8cde5727 | ||
# ╠═c99f9fc5-0ab1-444a-80f6-b5241edf2f8f | ||
# ╠═db69bedc-2803-4268-9f56-34e4a88a324e | ||
# ╠═cd19d00d-bf2b-479d-8c88-493311d97303 | ||
# ╠═b9ea40f4-1ed1-4862-8858-be07f2c04633 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
345a79c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
345a79c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/47785
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: