Back to rankings

QPanda 2 is an open source quantum computing framework developed by OriginQC that can be used to build, run, and optimize quantum algorithms.

quantum-computingcpp14qpandapyqpandaquantum-algorithmsquantumquantum-computer-simulatorquantum-development-kitpython3
Star Growth
Stars
1.2k
Forks
113
Weekly Growth
Issues
18
5001k
Jul 2018Mar 2021Nov 2023Jul 2026
README

QPanda 2

图片:

QPanda2 is an open source quantum computing framework developed by Origin Quantum, which can be used to build, run and optimize quantum algorithms. QPanda2 is the basic library of a series of software developped by Origin Quantum, which provides core components for QRunes, Qurator and quantum computing services.

Linux Windows
Build Status Build Status
C++ Documents Python Documents
Documentation Status Documentation Status

Install for Python

Python 3.6-3.9

Install using pip:

pip install pyqpanda

Other versions of Python and C++

If you want to use other versions of Python3 or use C++ API, Compiling from source is recommended. Reference to the Documents for tutorials

Python sample code

The following example can be used to construct quantum entanglement in a quantum computer(|0000>+|1111>), measure all qubits and run 1000 times:

from pyqpanda import *

qvm = CPUQVM()
qvm.init_qvm()
prog = QProg()
q = qvm.qAlloc_many(4)
c = qvm.cAlloc_many(4)
prog << H(q[0])\
    << CNOT(q[0:-1],q[1:])\
    << measure_all(q,c)
result = qvm.run_with_configuration(prog, c, 1000)
print(result)
qvm.finalize()

Results:

{'0000': 518, '1111': 482}

See more examples

Other informations

How to cite

Please cite this arXiv paper: QPanda: high-performance quantum computing framework for multiple application scenarios

@article{dou2022qpanda,
  title={QPanda: high-performance quantum computing framework for multiple application scenarios},
  author={Dou, Menghan and Zou, Tianrui and Fang, Yuan and Wang, Jing and Zhao, Dongyi and Yu, Lei and Chen, Boying and Guo, Wenbo and Li, Ye and Chen, Zhaoyun and Guo, Guoping},
  journal={arXiv preprint arXiv:2212.14201},
  year={2022}
}

About

QPanda is developed by Origin Quantum, which is committed to the development and application of quantum computers, It has launched 72-Qubit wukong quantum computer and 2-Qubit semi-conducting quantum chip (XW B2-100). The goal of the team is to produce more qubit chips in recent years, provide open cloud services, and realize quantum advantages and quantum applications. The software team underpins the hardware,In addition to QPanda, it has also developed QRunes, Qurator, OriginQ Cloud service platform, OriginQ Education cloud and other products.

License

Apache License 2.0

Related repositories
Developer-Y/cs-video-courses

List of Computer Science courses with video lectures.

computer-sciencealgorithms
82.6k11.4k
Qiskit/qiskit

Qiskit is an open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives.

PythonPyPIApache License 2.0quantum-computingqiskit
ibm.com/quantum/qiskit
7.6k3k
quantumlib/Cirq

Python framework for creating, editing, and running Noisy Intermediate-Scale Quantum (NISQ) circuits.

PythonPyPIApache License 2.0nisqquantum-algorithms
quantumai.google/cirq
5k1.2k
microsoft/QuantumKatas

Tutorials and programming exercises for learning Q# and quantum computing

Jupyter NotebookMIT Licensequantum-computingqsharp
4.9k1.2k
microsoft/Quantum

Microsoft Quantum Development Kit Samples

Jupyter NotebookMIT Licensequantum-development-kitquantum
docs.microsoft.com/quantum
4k936
krishnakumarsekar/awesome-quantum-machine-learning

Here you can get all the Quantum Machine learning Basics, Algorithms ,Study Materials ,Projects and the descriptions of the projects around the web

HTMLCreative Commons Zero v1.0 Universalquantumquantum-computing
3.6k803
PennyLaneAI/pennylane

PennyLane is an open-source quantum software platform for quantum computing, quantum machine learning, and quantum chemistry. Create meaningful quantum algorithms, from inspiration to implementation.

PythonPyPIApache License 2.0quantummachine-learning
pennylane.ai
3.4k840
desireevl/awesome-quantum-computing

A curated list of awesome quantum computing learning and developing resources.

Creative Commons Zero v1.0 Universalawesomeawesome-list
3.2k471
Qiskit/qiskit-metapackage

Qiskit is an open-source SDK for working with quantum computers at the level of circuits, algorithms, and application modules.

OpenQASMApache License 2.0qiskitquantum-computing
qiskit.org
3k728
the-akira/Computer-Science-Resources

Collection of resources spanning key areas of Computer Science

awesome-listcomputer
2.8k320
Qiskit/qiskit-tutorials

A collection of Jupyter notebooks showing how to use the Qiskit SDK

Jupyter NotebookApache License 2.0quantum-computingtutorial
2.5k1.3k
qosf/awesome-quantum-software

Curated list of open-source quantum software projects.

Creative Commons Zero v1.0 Universalquantum-computingquantum-algorithms
2.3k437