Skip to main content

AI-guided hardware-aware quantum circuit layout optimization for Qiskit

Project description

Usage

from qcompile import generate_optimized_layout

# Define the logical circuit connectivity
num_qubits = 5
logical_edges = [
    (0, 1),
    (1, 2),
    (2, 3),
    (3, 4),
]

# Generate an optimized hardware-aware layout
layout = generate_optimized_layout(
    num_qubits=num_qubits,
    logical_edges=logical_edges,
    backend_name="ibm_fez",
    train_samples=500,
)

print(layout)

The returned layout is a standard Qiskit Layout object that can be used directly for transpilation and routing.

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

qcompile-0.1.4.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

qcompile-0.1.4-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file qcompile-0.1.4.tar.gz.

File metadata

  • Download URL: qcompile-0.1.4.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for qcompile-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6919dd19de6d7078713cf32963585bc4934fb7512ea6d476c61c7aed7d5efd33
MD5 53c735180173cf79e4d1e4b691b57ed4
BLAKE2b-256 9e35e7e13ddec6a6ba3036d4ae006ab910d2f1a556b5bae8f7644fc76a9b6b86

See more details on using hashes here.

File details

Details for the file qcompile-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: qcompile-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for qcompile-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b85d2f77d17a70d105b2e0dd073c01ed8f2656305685a13f3e08cd289ccd04b3
MD5 6ad8c15513c379a1b0523491807d2fd2
BLAKE2b-256 555d54d4b3c69e3cb3949b939a519f35c56d4638c737a60b86fa6ec016bf0fef

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 Pingdom Monitoring Sentry Error logging StatusPage Status page