Releases: PaddlePaddle/Quantum
Releases · PaddlePaddle/Quantum
Paddle Quantum 2.0.0
Release Note
The main update is the adaption to PaddlePaddle 2.0 with an improved model efficiency up to 40%.
The version of paddlepaddle should be 2.0.1+.
Since there are many changes in PaddlePaddle 2.0, we need to adapt to it. The detailed change of API can be browsed in API mapping table.
Common PaddlePaddle API Update
- Change
paddle.fluid.Layer
topaddle.nn.Layer
. - Change
paddle.fluid.dygraph.to_variable
topaddle.to_tensor
. - Change
paddle.fluid.initializer.Uniform
topaddle.nn.initializer.Uniform
. - Change
paddle.fluid.optimizer.AdamOptimizer
topaddle.optimizer.Adam
. with fluid.dygraph.gurad():
can be currently removed. PaddlePaddle is run in dynamic graph mode by default.- After back-propagation, it is recommended to use
optimizer.clear_grad()
to clear gradients. - PaddlePaddle now only supports global random seed, which can be set with
paddle.seed(seed_number)
.
The change of complex module
The complex module has been optimized in PaddlePaddle 2.0. The API of the complex module also has been changed.
- The real part:
paddle.real()
- The imaginary part:
paddle.imag()
- The conjugate of complex tensor:
paddle.conj()
Paddle Quantum 1.2.0
Release Note
- Add a new module LOCCNet. With this module, Paddle Quantum can now efficiently simulate distributed quantum information processing tasks.
- Add 6 tutorials on QML for quantum information processing.
- Add useful functions for quantum information.
Check out more details at our website!
Paddle Quantum 1.1.1
Release Note
- English version of Paddle Quantum
- Website of Paddle Quantum is now available at qml.baidu.com
- Optimize some functions
- Support pip install
Paddle Quantum 1.1.0
Release Note
- Add self-innovated quantum simulators.
- More templates of quantum neural networks and useful functions.
- Tutorial for GPU mode.
- Add 5 tutorials of QML models.
Paddle Quantum 1.0.0
Release Note
Paddle Quantum is a quantum machine learning (QML) toolkit developed based on Baidu PaddlePaddle.