Skip to main content

Arvak - Rust-native quantum compilation and orchestration platform for HPC with CUDA-Q, neutral-atom, and dynamic plugin support. Developed by The HAL Contract.

Project description

Arvak Python Bindings

Python bindings for the Arvak quantum compilation platform.

Installation

pip install arvak

Quick Start

import arvak

# Create a Bell state circuit
qc = arvak.Circuit("bell", num_qubits=2)
qc.h(0).cx(0, 1).measure_all()

# Check circuit properties
print(f"Depth: {qc.depth()}")
print(f"Qubits: {qc.num_qubits}")

# Convert to QASM
qasm = arvak.to_qasm(qc)
print(qasm)

# Parse QASM
qc2 = arvak.from_qasm("""
OPENQASM 3.0;
qubit[2] q;
h q[0];
cx q[0], q[1];
""")

Features

  • Circuit Building: Fluent API for building quantum circuits
  • Standard Gates: H, X, Y, Z, S, T, CX, CZ, and many more
  • IQM Native Gates: PRX gate support
  • QASM3 I/O: Parse and emit OpenQASM 3.0
  • Compilation Types: Layout, CouplingMap, BasisGates for compilation

Pre-built Circuits

# Bell state
bell = arvak.Circuit.bell()

# GHZ state
ghz = arvak.Circuit.ghz(5)

# Quantum Fourier Transform
qft = arvak.Circuit.qft(4)

License

Apache-2.0

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

arvak-1.5.0.tar.gz (179.2 kB view details)

Uploaded Source

Built Distributions

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

arvak-1.5.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (496.4 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

arvak-1.5.0-cp314-cp314-win_amd64.whl (371.1 kB view details)

Uploaded CPython 3.14Windows x86-64

arvak-1.5.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (495.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

arvak-1.5.0-cp314-cp314-macosx_11_0_arm64.whl (450.9 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

arvak-1.5.0-cp313-cp313-win_amd64.whl (371.1 kB view details)

Uploaded CPython 3.13Windows x86-64

arvak-1.5.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (495.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

arvak-1.5.0-cp313-cp313-macosx_11_0_arm64.whl (450.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

arvak-1.5.0-cp312-cp312-win_amd64.whl (370.8 kB view details)

Uploaded CPython 3.12Windows x86-64

arvak-1.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (495.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

arvak-1.5.0-cp312-cp312-macosx_11_0_arm64.whl (450.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

arvak-1.5.0-cp311-cp311-win_amd64.whl (370.6 kB view details)

Uploaded CPython 3.11Windows x86-64

arvak-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (496.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

arvak-1.5.0-cp311-cp311-macosx_11_0_arm64.whl (450.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

arvak-1.5.0-cp310-cp310-win_amd64.whl (373.2 kB view details)

Uploaded CPython 3.10Windows x86-64

arvak-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (499.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

arvak-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (499.4 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file arvak-1.5.0.tar.gz.

File metadata

  • Download URL: arvak-1.5.0.tar.gz
  • Upload date:
  • Size: 179.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for arvak-1.5.0.tar.gz
Algorithm Hash digest
SHA256 42e18069758540b2aad40132282d0953cf0d567baa3bbb893b408690733646da
MD5 010a352fa028607eac7722f58308f711
BLAKE2b-256 945b4ae41667de8812e93f7d2c3fe35e3e6789e569320beaeaa02b4077229d69

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f3780790a98b9b87e4bf61a0804f53559e01710fb73ab1a61a3fcf7d8fc25ffd
MD5 080c5abb313a82744ff8102d23b55af4
BLAKE2b-256 48b930658b3b44b15e2bbf33b2747217e1b9bfc022ac9720d6a8e635f59e2ebf

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: arvak-1.5.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 371.1 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for arvak-1.5.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 b6f7c7bcc6ff21fe2378e84c8bd80365133ef54d6ecfb5f1e7c01a758082f8e6
MD5 f1b37a8bc0a6733c7cfa2dc3eec2fc37
BLAKE2b-256 99ff6c84b8ff153fd6f5d1874bfc0f2ca31fa273a3c27890fb0a56a05763c14e

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e0f6a217093b8f7718ea081cda56a7483d71b9057761ddd83bbea8c958f44867
MD5 8e9ca3ecdc351ec97bb1492211ec1995
BLAKE2b-256 1ecf41160decb974ca6f5771abe9bcb32d492b5a5ec26e9c817f2f9dce438d9a

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fdfc2611cb8c866b6c2335d445d607e9506d3c03bd08f4c4bf639c7ed787913a
MD5 0d8914f4aa459e2b969c1e0b0828e6ef
BLAKE2b-256 62c4cb1ccdbeb8cf17de5c96fc243fc535e5d1150a72ec126711c5091938a711

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: arvak-1.5.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 371.1 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for arvak-1.5.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8ced33457e003efa223b5d19c81a325224221979c00ebefeb96ebd0bbca5647b
MD5 eb5992e15871c8370b5508761875bab5
BLAKE2b-256 d268d25a12d68a5c6ae16e8f74fc4e1efd4f39440d5c468a63f7c0c3a0874431

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d489b4da0266455577527166f81c3c796932cdb7e08c94cf420a1737783b1ad1
MD5 b92e45e6158ab099ad6d76338e63662a
BLAKE2b-256 06b0880d5fdc192c8cec6049e20d66824ef7a195c0b11f5cbdecf52533fee9c1

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 705c96de1e29d79c651c80869d4113f8aba5168ebe03c16972dbb4447a60309b
MD5 ff92f262652aec419c4da5dab4c69901
BLAKE2b-256 c4ff78b293228288519cca02383d47847e4024b18bb5c8ba681d85d17570043f

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: arvak-1.5.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 370.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for arvak-1.5.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1f3c40e37bb5400e3766806075055372d78c90534232a62958e21ef6b9f67a9c
MD5 05c760e9189e605a99fb41234144d682
BLAKE2b-256 b29e8433bfe35138b182909b12a0b0a7ec10bc9ae236e9285fdff971dcc67865

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 54e202183bf61340ffbe92e63533a214a80f3b8a2eed339418c8d599718a74f4
MD5 93e69ce11e3678cc5a1f4ceac510493d
BLAKE2b-256 deb53d2d2ce723a181f3ec04e2577ea9f7d910eeb4bfa35e1c1680bb4e276fd7

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27100a775c520af39513458868d9f68ee8908f34a59d85c7f7bb76f10aec2050
MD5 4969ab52570397f90cdf11699107ba2b
BLAKE2b-256 acb8c54453d0e9d29e69a4146a5fab6441477cb704b2f42eb4984faf17175192

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: arvak-1.5.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 370.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for arvak-1.5.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 423daf61fc8261c96ce43378b43c8d87e6858d86779999aa4d7154b6f5432f11
MD5 1bdaeb65168ace48dae6e0fc6ca0edb8
BLAKE2b-256 e9cdbc8c255f2677552b2aafe6d6de6b1504b0741c8e6b0970cd3c353ec03ac2

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 44ed802263c3716e09a009adeea57fb8df7e0ee45485d238f956691eb9a80614
MD5 bccedaf4e317c81e5f7f1319892baaea
BLAKE2b-256 d879e858a4b4beeec35c28e71b01242b6fb222f2a6c2dcb304cbb4780dc5af78

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d22d572552f207ebf0b73e41105a91078d1c14e58a06c3dcb9a9944c5d38861a
MD5 a65a7c5376d7fc9a1b54e504cfeea147
BLAKE2b-256 dbdbc363fb912dd0f55fe057693396e9f226e34b9d18eb5c036b070660053abf

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: arvak-1.5.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 373.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for arvak-1.5.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d458718098fa6f707a470c53b7f262735c1be6454e2c4136e3612c0b54fc9017
MD5 474a76d70a71a61e0fd9904227bd254b
BLAKE2b-256 74df22f1849051baa43795ba635a18e79eb28acb273608a1a39d3a1309a5e9ba

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09444fd307fc929bdab141200491f3b07d560735b63905a59f8b811d6adbb7e9
MD5 500b0ecdca85a6576f6f515516e0c12b
BLAKE2b-256 119849073dbea9c948c622d3f1572059aab571f725c4fdecaf15af6859b36b03

See more details on using hashes here.

File details

Details for the file arvak-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arvak-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cc5caf172c0d95b25600371dfd8add44345fb807fb604199df257c653c465066
MD5 052be2ce3188f3e87c0cf61cbebeb978
BLAKE2b-256 f0d9262c116877b2576f5789c041059d8de920941b53d6142bdef14e9d0db9d9

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