This is an unofficial julia interface for quri-parts.
Extending the software methodology used in Kyulacs.jl, we wondered if we could create a wrapper for complex projects. 80 percent of what we had planned was successful, but the remaining 20 percent (which included critical requirements) is not easy than we expected. Therefore, the reader should note that the current implementation does not provide comfortable software for us.
$ pip3 install quri-parts
git clone https://github.com/AtelierArith/Kyuri.jl.git
cd Kyuri.jl
julia --project=@. -e 'using Pkg; Pkg.instantiate()'
julia -q --project=@.
julia> using Kyuri.core.operator
julia> label = pauli_label("X0 Y2 Z4")
Most files located under src/quri_parts/
are generated automatically using src/gen_quri_parts_api.py
.
$ cd src
$ python gen_quri_parts_api.py
The implementation is messy, but it actually works.
Files in the form of <pymod>_custom.jl
are created by hand. This mechanism allows customization of the behavior of each module.