Skip to content

Qiskit/Qiskit.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qiskit.jl

Stable Dev Build Status Coverage PkgEval Aqua

Julia wrapper of Qiskit's C API

Example

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
end

More usage examples can be found in the test/ directory.

Status

  • 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.

Installation instructions

Install Julia

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 release

Clone this repository

git clone [email protected]:Qiskit/Qiskit.jl.git
cd Qiskit.jl

Install Qiskit.jl

julia -e 'using Pkg; pkg"dev ."'

Run tests

julia -e 'using Pkg; Pkg.test("Qiskit")'

License

Apache License 2.0

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages