Yet another quantum simulator/learning experience.
To install the package to your current environment use:
using Pkg
Pkg.add(PackageSpec(url="https://github.com/nmoran/OhMyQSIM.jl"))
The unittests can be run using
Pkg.test("OhMyQSIM")
A simple example is as follows
using OhMyQSIM
qreg = FullStateQuantumRegister{ComplexF64}(3, "000")
apply_1qubit!(qreg, Gates.x, 1)
to_str(qreg)
which gives
"(1.0 + 0.0im|100>)"
Content type
Image
Digest
Size
285.8 MB
Last updated
almost 6 years ago
docker pull nmoran/ohmyqsim