![]() |
QPanda3
Supported by OriginQ
|
中文 | English |
---|
QPanda3 (Quantum Programming Architecture for NISQ Device Application v3) is a high-performance quantum programming framework that enhances quantum computing efficiency through optimized circuit compilation, an advanced instruction stream format (OriginBIS), and hardware-aware execution strategies. These engineering optimizations significantly improve both processing speed and system performance, addressing key challenges in the NISQ era. A core innovation, OriginBIS, accelerates encoding speeds by up to 86.9× compared to OpenQASM 2.0, while decoding is 35.6× faster, leading to more efficient data handling, reduced memory overhead, and improved communication efficiency. This directly enhances the execution of quantum circuits, making large-scale quantum simulations more feasible. Comprehensive benchmarking demonstrates QPanda3’s superior performance: quantum circuit construction is 20.7× faster, execution speeds improve by 3.4×, and transpilation efficiency increases by 14.97× over Qiskit. Notably, in compiling a 118-qubit W-state circuit on a 2D-grid topology, QPanda3 achieves an unprecedented 869.9× speedup, underscoring its ability to handle complex quantum workloads at scale. By combining high-speed quantum processing with a modular and extensible software architecture, QPanda3 provides a practical bridge between today’s NISQ devices and future fault-tolerant quantum computing. It facilitates real-world applications in financial modeling, materials science, and combinatorial optimization, while its robust and scalable design supports industrial adoption and cloud-based deployment.
QPanda3 is a quantum computing library designed to provide developers with tools and interfaces related to quantum computing.
Experiments on benchpress, in a fully connected topology, QPanda3's compilation speed is, on average, 9.46× faster than Qiskit, with peak acceleration reaching 77.76×. In a square topology, its average compilation speed surpasses Qiskit by 24.6×, with a peak of 869.9×. For heavy-hexagon topologies, QPanda3 achieves an average 15.1× speedup, with a peak of 332.0×. In linear topology, the average speedup is 10.71×, with peak acceleration reaching 868.7×. We have introduced more detailed experimental content in the literature QPanda3: A High-Performance Software-Hardware Collaborative Framework for Large-Scale Quantum-Classical Computing Integration. The webpage Benchmark has cited important experimental results from the article.
pyqpanda3 is hosted in C++ and has the following system environment requirements.
Software | Version |
---|---|
Microsoft Visual C++ Redistributable x64 | 2015-2022 |
Python | >= 3.9 && <= 3.12 |
Software | Version |
---|---|
GCC | >=8.0 |
Python | >= 3.9 && <= 3.12 |
Software | Version |
---|---|
clang | >=15.0 |
Python | >= 3.9 && <= 3.12 |
Before using pyqpanda3, you need to install the corresponding Python-dependent library. pyqpanda3 supports installation via pip
, and its installation command is as follows:
After pyqpanda3 is installed, it can be used directly. Here is a simple usage example:
The running result is as follows: