Skip to main content

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


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

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page