QPanda3
0.1.0
Supported by OriginQ
|
Prev Tutorial: Variational Quantum Circuit
Next Tutorial: Hamiltonian
As of this version, qpanda3 provides the abstraction and simulation of quantum information such as quantum states and quantum channels, and provides some tools to facilitate researchers' analysis and processing of relevant information.
In quantum mechanics, the quantum state is a fundamental concept that describes the state of a quantum system. The state of a quantum system can be represented in two primary ways: state vectors and density matrices.
In the field of quantum information and quantum computing, quantum channels are mathematical representations of the transformations that a quantum system can undergo. They are crucial for describing the evolution of quantum states, the transmission of quantum information, and various quantum operations. In the current version, QPanda3 realizes five quantum channel representations—Kraus, Choi, SuperOp, Chi, and PTM—through five classes.
In the current version, QPanda3 provides tools for calculating the Hellinger distance, Hellinger divergence, and KL divergence.
QPanda3 provides the Unitary class to obtain the unitary matrix corresponding to the quantum circuit QCircuit
QPanda3 utilizes the Matrix class to provide an abstraction for arrays of complex numbers, supporting functionalities for obtaining the transpose matrix, adjoint matrix, and L2 norm.