Sign inSign up

nmoran/ohmyqsim

By nmoran

•Updated almost 6 years ago

Image
0

1.6K

nmoran/ohmyqsim repository overview

⁠OhMyQSIM

Yet another quantum simulator/learning experience.

⁠Installation and testing

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")

⁠Basic functionality

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>)"

Tag summary

Content type

Image

Digest

Size

285.8 MB

Last updated

almost 6 years ago

docker pull nmoran/ohmyqsim