PaddlePaddle/Quantum v2.4.0
PaddlePaddle/Quantum
Captured source
source ↗Paddle Quantum 2.4.0
Repository: PaddlePaddle/Quantum
Tag: v2.4.0
Published: 2023-04-24T14:00:48Z
Prerelease: no
Release notes:
Release Note
Improvements
- Accelerated circuit executions, providing 2-4 times speed-up compared to the previous version. Specifically, over 10 times speed-up for specific quantum neural network models.
New Features
paddle_quantum.gate:Gateis now a child class ofpaddle_quantum.channel.Channel, and hence inherits most functionalities from thechannelmodule, such as its Choi representationGate.choi_repr.- New module
matrix: provides user access to the matrices of gates in Paddle Quantum. - New gate
ParamOracle: provides user access to customized parameterized gates. paddle_quantum.qinfo:- New function
pauli_str_convertor: Concatenate the input observable with coefficient 1. paddle_quantum.loss.ExpecVal:- Now
ExpecVal.forward()can return the decomposed expectation value by settingdecompose=True. paddle_quantum.state.State:- Now
State.measure()can record the result in each shot by settingrecord=True.
New Applications
New applications have been added in the Quantum Application Model Library (QAML) as follows.
1. [Credit Risk Analysis](./applications/credit_risk_analysis/introduction_en.ipynb) 2. [Deuteron Binding Energy](./applications/deuteron_binding_energy/introduction_en.ipynb) 3. [Handwritten Digits Generation](./applications/handwritten_digits_generation/introduction_en.ipynb) 4. [Intent Classification](./applications/intent_classification/introduction_en.ipynb) 5. [Power Flow Optimization](./applications/power_flow/introduction_en.ipynb) 6. [Random Number Generation](./applications/random_number/introduction_en.ipynb)
New Tutorials
More tutorials are introduced in Paddle Quantum 2.4.0, to offer suggested usages in common scenarios of quantum research. These tutorials are listed as follows:
1. [Construction and Manipulation of Circuit](./introduction/PaddleQuantum_Ansatz_EN.ipynb) 2. [Customized Gate and Channel](./introduction/PaddleQuantum_Custom_EN.ipynb) 3. [Generation of Hamiltonian](./introduction/PaddleQuantum_Hamiltonian_EN.ipynb) 4. [Common Algebraic Functions](./introduction/PaddleQuantum_Linalg_and_Qinfo_EN.ipynb) 5. [Usage of State](./introduction/PaddleQuantum_State_EN.ipynb) 6. [Construction and Training of QNNs](./introduction/PaddleQuantum_Training_EN.ipynb)
Bug Fixes
- Fix some typos and mistakes in the tutorials and the API docs.
- Strengthen the overall stability of Paddle Quantum.
Dependencies
paddlenlp: newly added.