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.
Qiskit
Qiskit is an open-source SDK for working with quantum computers at the level of circuits, algorithms, and application modules.
Installation
pip install "jijmodeling-transpiler-quantum[qiskit]"
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
QURI Parts is an open source library suite for creating and executing quantum algorithms on various quantum computers and simulators.
pip install "jijmodeling-transpiler-quantum[quri-parts]"
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 --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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jijmodeling_transpiler_quantum-0.0.0.tar.gz.
File metadata
- Download URL: jijmodeling_transpiler_quantum-0.0.0.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1042-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4a2bc94ff13d879ad3a76864085353a34c9516be4cb05a59e8ad07151cca356
|
|
| MD5 |
39abf7912f17fb5516611c4f7911cd4a
|
|
| BLAKE2b-256 |
6099163004cece7307647ebb04a2847223eb76a344a2d98913cafd0634ef2128
|
File details
Details for the file jijmodeling_transpiler_quantum-0.0.0-py3-none-any.whl.
File metadata
- Download URL: jijmodeling_transpiler_quantum-0.0.0-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1042-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecd0dd328effbe436926ede645dfe5c22edeab1a20802ff416b30c022c7807f4
|
|
| MD5 |
b29fae3443824811497febe57a97edc8
|
|
| BLAKE2b-256 |
67d0e67d4932e07e6350fda21e10ca70f57ce05a9871bb7adb73deb9df522954
|