Skip to main content

pyqpanda3 is Python wrapper of QPanda3.

Project description

How to use pyqpanda3

pyqpanda3 is a high-performance Python quantum programming library built on the QPanda3 core and wrapped with pybind11.
It exposes QPanda3's core functionalities seamlessly through Python interfaces, enabling developers to enjoy the simplicity and flexibility of Python while maintaining the high-efficiency execution performance of the C++ core.

Thanks to the zero-overhead binding mechanism of pybind11, pyqpanda3 incurs almost no performance loss when invoking quantum circuit compilation, simulation, and cloud execution in Python.
This design also lowers the learning curve and reduces the barrier to entry.

pyqpanda3 fully inherits QPanda3's optimized compiler, hardware-aware mapping, quantum simulators, and cloud computing service interfaces, supporting end-to-end development from local simulation to execution on real quantum hardware.
Its modular architecture and unified API design allow users to implement complex quantum algorithms with less code, achieving both research efficiency and engineering performance.


Brief

quantum_gate

  • Introduces basic quantum gates, their matrix representations, and how they operate on qubits.
  • Covers single-qubit and multi-qubit gates such as X, Y, Z, H, S, T, and CNOT.

quantum_circuit_and_quantum_program

  • Explains how to build quantum circuits step-by-step, add quantum gates, and combine them into executable quantum programs.

quantum_circuit_control

  • Covers methods for controlling the flow of quantum circuits, including conditional operations, classical control bits, and measurement-based decision-making.

compilation

  • Shows how to compile quantum circuits into hardware-ready instructions, optimize gate sequences, and adapt circuits to specific quantum backends.

quantum_simulator

  • Teaches how to run quantum programs on local simulators for testing and debugging, including different simulation modes and performance considerations.

quantum_circuit_transpiler

  • Transforming quantum circuits into forms compatible with target devices while minimizing depth, errors, and execution cost.

quantum_visualization

  • Focuses on visualizing quantum circuits, quantum states, and measurement outcomes using diagrams, state vectors, and Bloch sphere plots.

quantum_profiling

  • Demonstrates how to analyze quantum programs for performance bottlenecks, gate counts, depth, and noise susceptibility.

quantum_state_preparation

  • Explains techniques for preparing specific quantum states from the initial |0⟩ state, including basis states, superposition, and entangled states.

hamiltonian

  • Introduces the Hamiltonian formalism in quantum mechanics and how to represent, simulate, and evolve quantum systems under given Hamiltonians.

noise

  • Covers modeling and simulating quantum noise, error channels, and their effects on quantum circuits, along with basic error mitigation methods.

operator

  • Teaches how to define and manipulate quantum operators, including Pauli operators, unitary matrices, and observable measurements.

qcloud_service

  • Explains how to connect to and run programs on cloud-based quantum computing services, including job submission and result retrieval.

quantum_information

  • Covers key quantum information concepts such as entanglement, fidelity, mutual information, and quantum entropy.

variational_quantum_circuit

  • Introduces variational quantum algorithms (VQAs), parameterized quantum circuits, and hybrid quantum–classical optimization workflows.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyqpanda3-0.3.2-cp313-none-win_amd64.whl (21.6 MB view details)

Uploaded CPython 3.13Windows x86-64

pyqpanda3-0.3.2-cp313-none-manylinux1_x86_64.whl (35.4 MB view details)

Uploaded CPython 3.13

pyqpanda3-0.3.2-cp313-cp313-macosx_13_0_arm64.whl (16.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

pyqpanda3-0.3.2-cp313-cp313-macosx_10_11_x86_64.whl (18.8 MB view details)

Uploaded CPython 3.13macOS 10.11+ x86-64

pyqpanda3-0.3.2-cp312-none-win_amd64.whl (21.6 MB view details)

Uploaded CPython 3.12Windows x86-64

pyqpanda3-0.3.2-cp312-none-manylinux1_x86_64.whl (35.4 MB view details)

Uploaded CPython 3.12

pyqpanda3-0.3.2-cp312-cp312-macosx_13_0_arm64.whl (16.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

pyqpanda3-0.3.2-cp312-cp312-macosx_10_11_x86_64.whl (18.8 MB view details)

Uploaded CPython 3.12macOS 10.11+ x86-64

pyqpanda3-0.3.2-cp311-none-win_amd64.whl (21.6 MB view details)

Uploaded CPython 3.11Windows x86-64

pyqpanda3-0.3.2-cp311-none-manylinux1_x86_64.whl (35.4 MB view details)

Uploaded CPython 3.11

pyqpanda3-0.3.2-cp311-cp311-macosx_13_0_arm64.whl (16.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

pyqpanda3-0.3.2-cp311-cp311-macosx_10_11_x86_64.whl (18.8 MB view details)

Uploaded CPython 3.11macOS 10.11+ x86-64

pyqpanda3-0.3.2-cp310-none-win_amd64.whl (21.6 MB view details)

Uploaded CPython 3.10Windows x86-64

pyqpanda3-0.3.2-cp310-none-manylinux1_x86_64.whl (35.4 MB view details)

Uploaded CPython 3.10

pyqpanda3-0.3.2-cp310-cp310-macosx_13_0_arm64.whl (16.1 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

pyqpanda3-0.3.2-cp310-cp310-macosx_10_11_x86_64.whl (18.8 MB view details)

Uploaded CPython 3.10macOS 10.11+ x86-64

pyqpanda3-0.3.2-cp39-none-win_amd64.whl (21.6 MB view details)

Uploaded CPython 3.9Windows x86-64

pyqpanda3-0.3.2-cp39-none-manylinux1_x86_64.whl (35.4 MB view details)

Uploaded CPython 3.9

pyqpanda3-0.3.2-cp39-cp39-macosx_13_0_arm64.whl (16.1 MB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

pyqpanda3-0.3.2-cp39-cp39-macosx_10_11_x86_64.whl (18.8 MB view details)

Uploaded CPython 3.9macOS 10.11+ x86-64

File details

Details for the file pyqpanda3-0.3.2-cp313-none-win_amd64.whl.

File metadata

  • Download URL: pyqpanda3-0.3.2-cp313-none-win_amd64.whl
  • Upload date:
  • Size: 21.6 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for pyqpanda3-0.3.2-cp313-none-win_amd64.whl
Algorithm Hash digest
SHA256 680222a89924e62ed6d44433e2be65e1f0dd353f7326c3fb6c304fc1d8327cb3
MD5 200c7e467432b2fda58b2e634277c037
BLAKE2b-256 2d92597c7af9876e2300e6127f48f285f5440c17502f910442355636d38ca5e8

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp313-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp313-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5b22dec1c3fea8d08091123822c8487e5dcaf5136ed4533c34902629b6e4770b
MD5 834216bc25964edb379bdd87f06bcfa3
BLAKE2b-256 73466fce2ebd7b6d5e3738e9934a05768ba87a19b574dcdf99b464ac33d5ad30

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7a4bbff72b624760c84bd00c7df76b2c195be271b66585c0cd3c24f425192dab
MD5 926ed8de6e37d6d7fef2f060a35f3bb0
BLAKE2b-256 3c21b403bd295391e2803dcf9215b1c58278f12dbae5aa4156916f2e04a09099

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp313-cp313-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp313-cp313-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 06d4d37376adc847904d3118478770d3242322389d0bad565a705712727f6337
MD5 a99499b21e947cc2b354d2f7f43dc7c0
BLAKE2b-256 3918747675184e2927fe70911a856d9ce56d1c81c52f7d65c176b1e0827e31c4

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp312-none-win_amd64.whl.

File metadata

  • Download URL: pyqpanda3-0.3.2-cp312-none-win_amd64.whl
  • Upload date:
  • Size: 21.6 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for pyqpanda3-0.3.2-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 58025ba1a48eae24928ec405dc6c62692ed491e8aada0bcb40ac2e36807c65be
MD5 023785c4d522cecc688ccde0d2f8783b
BLAKE2b-256 f95a8869dc4153ee06a625bf1030b12988a14aa2d7f3fa57196afaf00a6a3b58

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp312-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp312-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 61d02d2f78c383d43df5e3790bf363ab28e69ec5e1028392731685e0248d482c
MD5 aa6777bb414ac10e00c554d50fd65cdf
BLAKE2b-256 927afae9fba4a38cc338959913051f90e0ce180afbfcaadf00efd27ce861f1c4

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 84ccc34b724a6f26283be29c2b8dbd343a2d3f130d683bb718d12f0e89668a21
MD5 3caa8eea95e946fc7703f2f9f4ac7b1f
BLAKE2b-256 703dd0fba915f95ec46cef5ec21179d5d78defae8fb0bf46d29e50d2a339cb27

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp312-cp312-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp312-cp312-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 f1979994f55835d93bba97e84692bf2ff9ee4ee86073a4a64187c54e09d9c687
MD5 220f3bf359acd144a60c1457777abff6
BLAKE2b-256 158a842d2fa501ba0952c0b1a59f18300d47828bce4bbbf675445ef0c0b04935

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp311-none-win_amd64.whl.

File metadata

  • Download URL: pyqpanda3-0.3.2-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 21.6 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for pyqpanda3-0.3.2-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 03544c066c082ab423a172b1f74e163cc549636f82969d2cb01c6d48f0a46654
MD5 1a97fc1b94b193ca96232a5e2ee38664
BLAKE2b-256 6ec824a4964cc1029fb3ba974308321a3c1b2a59b98ac4986b555c33a1277f17

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp311-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp311-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b952ffa5e43db57379e97432f7feac823277538845d84b0f6031ee8b6b06df5b
MD5 4e097233eba1753e3a7c9c39f1d83170
BLAKE2b-256 2103720fc9fb45f8b67bb6446d226f292db813b44ac487cc8bd88e753290f02c

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 074e44ab5a61c51e2a8024a07ebbcd062977fe4b75bb129c3bd9a9d3c71fcf53
MD5 f1ab34cf639185872ce7a666ef6b6161
BLAKE2b-256 c8483305aaafeff83fba01a705cc8880d63ce860e4c3104598203616769a5713

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp311-cp311-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp311-cp311-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 6e76f8ddfa3a768ceb95f77bbb961d06e43a2bd9e3660b73ac907c1f6fda5e58
MD5 8fe497ea24f52e61b4f70b6b6c66f6e6
BLAKE2b-256 8b1f4a121e3a9ce9fdc4107d7f809b37b9d30e38f850e6f5e1e25e1442caecc9

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp310-none-win_amd64.whl.

File metadata

  • Download URL: pyqpanda3-0.3.2-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 21.6 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for pyqpanda3-0.3.2-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 5ce25786945aab58d28421be45929463850c0e971bb7e9b91c4746eca1b18d20
MD5 6274e21c697dfdf619387a8791fe1ecd
BLAKE2b-256 6afd7c24af1c4d90791a6f169124d717452824e119b798fcf0f8cd36bda38690

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp310-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp310-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 408dc69355233e414bc1e230cc6a1fd37faabfbdfd977d03d0b6534f078407ce
MD5 4e937b38834900acba3a7db02766db16
BLAKE2b-256 1701ef3f51902dab1b6ad4843a262c2c2b4727747c0c6a75d3510e660b5dde92

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4a850830d9139736f55c5a72769d213e6ad288c48fd1e46a809a10bee797ab27
MD5 c2bc7a4bc6d35836dc05e078a790a6c4
BLAKE2b-256 d41c759516f1216f43d45ccbac58bed46c1a9566bb6b34775b2dc32b10ad4310

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp310-cp310-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp310-cp310-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 09b07df76d8db64d2daf899c082c3d9e9205dd1e7537a08d90348c4139cc1d07
MD5 92ad66bcd745831df475fa405c3df652
BLAKE2b-256 5bf5052e1c5128f16caf4a0a0a1db30d8a7a5d721180692b6aa4ce6976d15129

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp39-none-win_amd64.whl.

File metadata

  • Download URL: pyqpanda3-0.3.2-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 21.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for pyqpanda3-0.3.2-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 44c35c92069b62876e466767b66465e504f8d874dabedd98bcb47be43d2c35d6
MD5 806dafe4aa5367e5260a48e4f8606c5f
BLAKE2b-256 e10e7308e946f58041e1596f5cfd2d8c7194b6ddb26352de2af38ecc53e12de6

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp39-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp39-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1c6d5091c770d74ffafb16ddeae54bb3d9970255419dc9ddd8d6b4b86767ce28
MD5 e20881b67959f9b60f7443ef60beade9
BLAKE2b-256 113f27f47c156f3ce17340c7114786159bf3565f5aa59034692137e1c700e0f6

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5b3e4f2936b936b009668345f2b4ecf2d604ed642984b4cf10e8a672f64ab6f2
MD5 0b0819637c6392cae9b2c71daade0a6a
BLAKE2b-256 f09506fd71a2f4b0a180216b9f4556cfba2c32e5f5c785f99a37bc66a872e8d6

See more details on using hashes here.

File details

Details for the file pyqpanda3-0.3.2-cp39-cp39-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for pyqpanda3-0.3.2-cp39-cp39-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 8195aca47fb540c25cfaab269709a8c03faadbb96d645d76253c72879a52ee8e
MD5 93d6bb00b82a20ca97c0d12b28ab64ee
BLAKE2b-256 1d792a82ec2763322f31e5a82984d4084ef010489de014f01e99b4dff2f4dec0

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