No project description provided
Project description
JijModeling-Transpiler-Quantum
JijModeling-Transpiler-Quantum
is a transpiler from model written in JijModeling to quantum optimization algorithms on variaous quantum platform.
Installation
pip install jijmodeling-transpiler-quantum
Qiskit
Qiskit is an open-source SDK for working with quantum computers at the level of circuits, algorithms, and application modules.
Quantum Approximate Optimization Algorithm (QAOA)
import jijmodeling as jm
import jijmodeling_transpiler as jmt
import jijmodeling_transpiler_quantum 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
❌ Not supported yet. |
---|
Currently, quri-parts is not supported. Please wait for the next release. |
QURI Parts is an open source library suite for creating and executing quantum algorithms on various quantum computers and simulators.
Quantum Approximate Optimization Algorithm (QAOA)
import jijmodeling as jm
import jijmodeling_transpiler as jmt
import jijmodeling_transpiler_quantum 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
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
Built Distribution
Close
Hashes for jijmodeling_transpiler_quantum-0.1.0rc2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65d7bd12a20d8a46aa0dca315bc22e91cb2b80674878fb3e3e6ca778764657b |
|
MD5 | 877a8764d6ee1283ee0462cd1558c3d8 |
|
BLAKE2b-256 | 58772e5113891bfb242b9e8dc47df176b73864b91d319475778c516b32776687 |
Close
Hashes for jijmodeling_transpiler_quantum-0.1.0rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9128c16ae4e3b33f73da4442c0e53436220345a49d07bda9dada951c24bc9f3e |
|
MD5 | b7a48596b3ebd0878e5f3cbc8975bfcf |
|
BLAKE2b-256 | 2f21058c80761e1c109238979ba68c2df49cce6bf6c0a2f78a4bc370e7f780b6 |