Download Latest Version paddle-quantum-2.4.0.tar.gz (290.3 kB)
Email in envelope

Get an email when there's a new version of Paddle Quantum

Home / v2.2.0
Name Modified Size InfoDownloads / Week
Parent folder
paddle_quantum-2.2.0-py3-none-any.whl 2022-05-19 304.9 kB
paddle-quantum-2.2.0.tar.gz 2022-05-19 192.0 kB
Paddle Quantum 2.2.0 source code.tar.gz 2022-05-19 22.7 MB
Paddle Quantum 2.2.0 source code.zip 2022-05-19 23.1 MB
README.md 2022-05-19 1.9 kB
Totals: 5 Items   46.4 MB 0

Release Note

Breaking Change

We have made an incompatible upgrade to the code architecture, and the new version's structure and usage can be found in our tutorials, API documentation, and the source code.

New Features

  • We now support connecting to a real quantum computer via QuLeaf, using paddle_quantum.set_backend('quleaf') to select QuLeaf as the backend.
  • We now support using set_backend() to switch to different backends.
  • We now support using the state fidelity and trace distance as the loss function to optimize.
  • We now support using an oracle gate in a quantum circuit.
  • Add the VAns feature, which can build shallower ansatzes by automatically inserting and removing gates during the optimization.
  • Add the UCCSD ansatz, which is frequently used in quantum chemistry.
  • Add the OneBodyDensityMatrix class for measureing the one-body density matrix from a quantum state.

New Tutorials

QNN Research

  • Add the tutorial VAns - Variable Ansatz, which presents a variable structure algorithm to build shallower ansatzes by automatically inserting and removing gates during the optimization.
  • Temporarily remove the tutorial Calculating Gradient Using Quantum Circuit. It will be reworked and released after the relevant features have been refactored.

Introduction

  • Improve the tutorial Quantum Chemistry in Paddle Quantum's qchem by adding the introduction to the new features.
  • Temporarily remove the tutorial Frequently Used Functions in Paddle Quantum, which will be reworked and released soon.

Dependencies

  • qcompute: newly added.
  • interval: removed.
  • scikit-learn: newly added.
  • opencv-python: newly added.
Source: README.md, updated 2022-05-19