Skip to main content

Fire Opal RIKEN Client

This is the Fire Opal client integration for RIKEN quantum computing infrastructure using a gRPC client.

Architecture Overview

  • Client: Qiskit SamplerV2 implementation that sends circuits to Fire Opal server for optimization
  • Server: gRPC service that performs Fire Opal preprocessing/postprocessing

Usage

Here is a small example of how to use the Fire Opal RIKEN client with Qiskit. This will communicate with a gRPC server to perform Fire Opal pre-processing on a quantum circuit before executing it on the ibm_kobe backend. Once the job is complete, results post-processed by Fire Opal will be returned from the job.result() call.

import os
from qiskit import QuantumCircuit
from qiskit.providers import BackendV2
from fireopalrikenclient.sampler import FireOpalSampler
from fireopalrikenclient.utils.client import FireOpalClient

# Create circuit.
circuit = QuantumCircuit(2)
circuit.h(0)
circuit.cx(0, 1)
circuit.measure_all()

# Create sampler with Fire Opal preprocessing.
service = QiskitRuntimeService(token="...", instance="...", channel="ibm_quantum_platform")
sampler = FireOpalSampler(mode=service.backend("ibm_kobe"))

# Run with Fire Opal optimization.
sampler_pub = (circuit, None, 1024)
job = sampler.run([sampler_pub])
result = job.result()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qctrl_fire_opal_riken_client-0.9.1.tar.gz (89.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qctrl_fire_opal_riken_client-0.9.1-py3-none-any.whl (97.8 kB view details)

Uploaded Python 3

File details

Details for the file qctrl_fire_opal_riken_client-0.9.1.tar.gz.

File metadata

  • Download URL: qctrl_fire_opal_riken_client-0.9.1.tar.gz
  • Upload date:
  • Size: 89.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.0 CPython/3.11.15 Linux/6.17.0-1018-azure

File hashes

Hashes for qctrl_fire_opal_riken_client-0.9.1.tar.gz
Algorithm Hash digest
SHA256 3c48df617b2ad1e2c09aa50efcc122cfb5c39b99c7bf0d410b1ce277aa45f91f
MD5 c3a4c6ec5ede09fab694a954a867ffa4
BLAKE2b-256 0419846880b40110f983beb75aae5d068536070fb9b493c0434cb82fc6d7a782

See more details on using hashes here.

File details

Details for the file qctrl_fire_opal_riken_client-0.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for qctrl_fire_opal_riken_client-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d32cd16f89895316e67151068c0cfd14eed2a57ae89b9ff8310c9e61c9be9ddb
MD5 128ee704f442c667ada3cf37a12649f1
BLAKE2b-256 95ba3aa3253f05fb37eb4db577912aeb040c6f03c0472ef047cb5f9553f3ea95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page