Quantum Computing Python SDK
From your first circuit to hardware-aware workflows, the pyqpanda3 docs connect tutorials, API references, concepts, and examples into one focused quantum development console.
pip install pyqpanda3from pyqpanda3.core import QProg, CPUQVMbuild -> run -> get_countsCommon single-qubit, multi-qubit, and variational gates for tutorials and real algorithms.
Execution paths for CPUQVM, GPUQVM, density-matrix, stabilizer, and amplitude-query workflows.
Model decoherence, measurement error, and hardware constraints before running jobs.
A performance path for larger circuits, repeated experiments, and heavier workloads.
Documentation Matrix
Move through the docs by task: learn, inspect APIs, reproduce workflows, track releases, or build theory.
Step-by-step guides for basics, circuits, simulation, noise, variational workflows, and cloud computing.
RecipesTask-focused examples for Bell, GHZ, Grover, VQE, QAOA, IR conversion, and more.
ReferenceCore modules, Hamiltonian tools, quantum information, QCloud, visualization, and utilities.
TheoryTheory for gates, noise models, transpilation, quantum information, and variational algorithms.
UpdatesRelease announcements, workflow notes, and practical quantum computing articles.
HistoryFollow features, fixes, and migration notes across pyqpanda3 versions.
Learning Vector
New to pyqpanda3? These three stops build the right context quickly.
Executable Pattern
Keep the shortest path close: install the SDK, construct a quantum program, run CPUQVM, read measurement counts, then branch into noise, cloud, and transpilation workflows.
Get Started01pip install pyqpanda3
02from pyqpanda3.core import CPUQVM, QProg, H, CNOT, measure
03prog = QProg()
04prog << H(0) << CNOT(0, 1)
05prog << measure([0, 1], [0, 1])
06qvm = CPUQVM()
07qvm.run(prog, shots=1000)
08counts = qvm.result().get_counts()
Start with installation, circuit construction, and simulation in a few focused minutes.