No project description provided
Project description
Qamomile
Qamomile
is a transpiler from model written in JijModeling to quantum optimization algorithms on variaous quantum platform.
Documentation: https://jij-inc.github.io/Qamomile/
Qiskit
Qiskit is an open-source SDK for working with quantum computers at the level of circuits, algorithms, and application modules.
Installation
pip install "qamomile[qiskit]"
Quantum Approximate Optimization Algorithm (QAOA)
import jijmodeling as jm
import jijmodeling_transpiler as jmt
import qamomile as jtq
# Create model
problem = jm.Problem("model")
... # Modeling ...
# Compile
compiled_instance = jmt.compile_model(problem, instance_data, fixed_vars)
# Transpile to QAOA of qikit
qaoa_builder = jtq.qiskit.transpile_to_qaoa(compiled_instance)
QURI-Parts
QURI Parts is an open source library suite for creating and executing quantum algorithms on various quantum computers and simulators.
pip install "qamomile[quri-parts]"
Quantum Approximate Optimization Algorithm (QAOA)
import jijmodeling as jm
import jijmodeling_transpiler as jmt
import qamomile as jtq
# Create model
problem = jm.Problem("model")
... # Modeling ...
# Compile
compiled_instance = jmt.compile_model(problem, instance_data, fixed_vars)
# Transpile to QAOA of qikit
qaoa_builder = jtq.quri.transpile_to_qaoa(compiled_instance)
Contributing
Setup
pip install poetry
poetry install --all-extras
poetry shell
Test
pytest tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qamomile-0.1.0.tar.gz
(15.8 kB
view hashes)
Built Distribution
qamomile-0.1.0-py3-none-any.whl
(27.4 kB
view hashes)