Skip to main content

QuarkCircuit

PyPI - Python Version Downloads API

QuarkCircuit is a quantum circuit construction and transpilation toolkit, deployed on the Quafu quantum computing cloud platform for real superconducting chip experiments.

Features

  • Construction — Build quantum circuits intuitively with standard gate sets
  • Visualization — Clean text-based circuit diagrams with Unicode characters
  • Transpilation — Layout mapping, Sabre routing, basis gate translation

Installation

pip install quarkcircuit

Requires Python 3.12, 3.13, or 3.14. Supports Linux, macOS, and Windows.

Quick start

from quark.circuit import QuantumCircuit, generate_ghz_state

# Create a GHZ state circuit
qc = generate_ghz_state(4)
qc.measure_all()

# Draw the circuit
qc.draw()

Examples

See quarkcircuit examples.

License

MIT

Metadata

Release files for quarkcircuit 0.5.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for quarkcircuit 0.5.13
File
quarkcircuit-0.5.13-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
quarkcircuit-0.5.13-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
quarkcircuit-0.5.13-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
quarkcircuit-0.5.13-cp314-cp314-macosx_10_15_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.15+ x86-64 Details
quarkcircuit-0.5.13-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
quarkcircuit-0.5.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
quarkcircuit-0.5.13-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
quarkcircuit-0.5.13-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
quarkcircuit-0.5.13-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
quarkcircuit-0.5.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
quarkcircuit-0.5.13-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
quarkcircuit-0.5.13-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details

Total release size: 34.4 MB

Release files / quarkcircuit-0.5.13-cp314-cp314-win_amd64.whl

Download URL quarkcircuit-0.5.13-cp314-cp314-win_amd64.whl
Size 941.7 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
994a2de1cb2f0ac2c3782feab02e7ac4a929b6b9b6eafc35d984e1b065b83562
BLAKE2b-256 checksum
How to use checksums
227fd55eef1cf7256862a3e48408ac8c1bda48440b82a7d243bbd86abc6afa53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL quarkcircuit-0.5.13-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 8.2 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
57c08111ef0d58dff98c4e65de09639f16529c01841d2f517c29f0b22f92704e
BLAKE2b-256 checksum
How to use checksums
32a3b59f4266128426591144613546675cdaace3a41bad8b8bf4bbe59c7bd3a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp314-cp314-macosx_11_0_arm64.whl

Download URL quarkcircuit-0.5.13-cp314-cp314-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
06a69c588a643bb9affdbefa5674d9741f5ae9c9c3d7abc4bc19906530b84e61
BLAKE2b-256 checksum
How to use checksums
b0ad12cfe0088df632c9af61e748c35352822c4879b664360ce023bc85c91b34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp314-cp314-macosx_10_15_x86_64.whl

Download URL quarkcircuit-0.5.13-cp314-cp314-macosx_10_15_x86_64.whl
Size 1.2 MB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
b76a25f68d4827dea2e3fd0e1fcef3cc2b0958477a4d9466b5ade15df0c01104
BLAKE2b-256 checksum
How to use checksums
7d9823e916afeb15784138fc97787d636973f9a10b1b9ab99c43d32acdd783fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp313-cp313-win_amd64.whl

Download URL quarkcircuit-0.5.13-cp313-cp313-win_amd64.whl
Size 921.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f21fc1f0e5d825e588b7eefa09bddc3bb6da8ef2969d1ccd3f47829bee1d9a4e
BLAKE2b-256 checksum
How to use checksums
bd932d3409169fd31cb24add2deaecad33c14addca377b61eb914a3bd12e47a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL quarkcircuit-0.5.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 8.3 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fefa3a0c7a9ff2567827d57c8cf441c1e224f25f3e7960ed5aed249843651c7f
BLAKE2b-256 checksum
How to use checksums
6e4b1068365fe1be3414560a77ceb33a71ba8dfd7194181f3c0c3e724da7ed4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp313-cp313-macosx_11_0_arm64.whl

Download URL quarkcircuit-0.5.13-cp313-cp313-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5e3dadbd8c2c77fd1578848d1f54bdf8cc037c6eb4fcf10a26683ef6badee28e
BLAKE2b-256 checksum
How to use checksums
68f5d0e83178ec3ca0e8346947b1568ecc6a0e5f15bc9fa9d72885f0448040d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp313-cp313-macosx_10_13_x86_64.whl

Download URL quarkcircuit-0.5.13-cp313-cp313-macosx_10_13_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
8c679822b68ea86bfeaead30dfab642de5c4dac0878628226505b57c8f1cd0d2
BLAKE2b-256 checksum
How to use checksums
2d8796a05fb0adb92187f1c938608cd852a081040e93ac2dff8db48b86b78c5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp312-cp312-win_amd64.whl

Download URL quarkcircuit-0.5.13-cp312-cp312-win_amd64.whl
Size 929.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
7358744ac35d56617133946d39187a64f55dc58abc5cd62f45807680e2de2cd6
BLAKE2b-256 checksum
How to use checksums
10249fc645ad0cf13a1369bb3d73896cc032ef427ed4be438d9ada9da2f48e53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL quarkcircuit-0.5.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 8.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d2956f1eaa498b801416f3e098241dbb307b3b43fe478e79d512f46ec127f2d1
BLAKE2b-256 checksum
How to use checksums
73cdef3df65d7b2e18e97f923ceea4dea9bd081515e631250a6a1b2c595da003
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp312-cp312-macosx_11_0_arm64.whl

Download URL quarkcircuit-0.5.13-cp312-cp312-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6267fd4ac51db8737237e94170c221248e432e13b7cd0f7f210e5a3fd590fb1e
BLAKE2b-256 checksum
How to use checksums
6731174b9e132a5cef19dc4a2758bb767aa78522742d45689c4c567eb86f9dfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / quarkcircuit-0.5.13-cp312-cp312-macosx_10_13_x86_64.whl

Download URL quarkcircuit-0.5.13-cp312-cp312-macosx_10_13_x86_64.whl
Size 1.2 MB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
d7b9b4c894ce15b22c4a5a7f58009607b1ad1902857e06f34e334981eab9531e
BLAKE2b-256 checksum
How to use checksums
c313ec155b26de9dde95be7c8d56aa227cfe25e6d4a76960030bd2f471ece610
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

0.5.13 This release

12 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page