Julia wrapper of Qiskit's C API
using Qiskit
function build_bell()
qc = QuantumCircuit(2, 2)
qc.h(1)
qc.cx(1, 2)
qc.measure(1, 1)
qc.measure(2, 2)
qc
endMore usage examples can be found in the test/ directory.
- Partial support for
SparseObservable - Nearly complete support for circuits
- Nearly complete support for targets
Currently the only supported platform is Linux x86_64. Support for other platforms may be added by improving the Yggdrasil build script for Qiskit.
The official install instructions are at https://julialang.org/install/.
If you are a Rust user, you may choose to obtain juliaup via cargo.
cargo install juliaup
juliaup add releasegit clone [email protected]:Qiskit/Qiskit.jl.git
cd Qiskit.jljulia -e 'using Pkg; pkg"dev ."'julia -e 'using Pkg; Pkg.test("Qiskit")'Apache License 2.0