mindquantum.algorithm.nisq

Noisy Intermediate Scale Quantum (NISQ) algorithms.

In NISQ, the quantum qubits number and quantum circuit depth are very limited and the quantum gate fidelity is also limited.

Base Class

mindquantum.algorithm.nisq.Ansatz

Base class for Ansatz.

Encoder

mindquantum.algorithm.nisq.IQPEncoding

General IQP Encoding.

Ansatz

mindquantum.algorithm.nisq.HardwareEfficientAnsatz

HardwareEfficientAnsatz is a kind of ansatz that can be easily implement on quantum chip.

mindquantum.algorithm.nisq.Max2SATAnsatz

The Max-2-SAT ansatz.

mindquantum.algorithm.nisq.MaxCutAnsatz

The MaxCut ansatz.

mindquantum.algorithm.nisq.QubitUCCAnsatz

Qubit Unitary Coupled-Cluster (qUCC) ansatz class.

mindquantum.algorithm.nisq.StronglyEntangling

Strongly entangling ansatz.

mindquantum.algorithm.nisq.UCCAnsatz

The unitary coupled-cluster ansatz for molecular simulations.

Class

Images

mindquantum.algorithm.nisq.RYLinear

../_images/RYLinear.png

mindquantum.algorithm.nisq.RYFull

../_images/RYFull.png

mindquantum.algorithm.nisq.RYCascade

../_images/RYCascade.png

mindquantum.algorithm.nisq.RYRZFull

../_images/RYRZFull.png

mindquantum.algorithm.nisq.PCHeaXYZ1F

../_images/PCHeaXYZ1F.png

mindquantum.algorithm.nisq.PCHeaXYZ2F

../_images/PCHeaXYZ2F.png

mindquantum.algorithm.nisq.ASWAP

../_images/ASWAP.png

The following Ansatz come from paper Expressibility and entangling capability of parameterized quantum circuits for hybrid quantum-classical algorithms.

Class

Images

mindquantum.algorithm.nisq.Ansatz1

../_images/ansatz1.png

mindquantum.algorithm.nisq.Ansatz2

../_images/ansatz2.png

mindquantum.algorithm.nisq.Ansatz3

../_images/ansatz3.png

mindquantum.algorithm.nisq.Ansatz4

../_images/ansatz4.png

mindquantum.algorithm.nisq.Ansatz5

../_images/ansatz5.png

mindquantum.algorithm.nisq.Ansatz6

../_images/ansatz6.png

mindquantum.algorithm.nisq.Ansatz7

../_images/ansatz7.png

mindquantum.algorithm.nisq.Ansatz8

../_images/ansatz8.png

mindquantum.algorithm.nisq.Ansatz9

../_images/ansatz9.png

mindquantum.algorithm.nisq.Ansatz10

../_images/ansatz10.png

mindquantum.algorithm.nisq.Ansatz11

../_images/ansatz11.png

mindquantum.algorithm.nisq.Ansatz12

../_images/ansatz12.png

mindquantum.algorithm.nisq.Ansatz13

../_images/ansatz13.png

mindquantum.algorithm.nisq.Ansatz14

../_images/ansatz14.png

mindquantum.algorithm.nisq.Ansatz15

../_images/ansatz15.png

mindquantum.algorithm.nisq.Ansatz16

../_images/ansatz16.png

mindquantum.algorithm.nisq.Ansatz17

../_images/ansatz17.png

mindquantum.algorithm.nisq.Ansatz18

../_images/ansatz18.png

mindquantum.algorithm.nisq.Ansatz19

../_images/ansatz19.png

Generator

mindquantum.algorithm.nisq.generate_uccsd

Generate a uccsd quantum circuit based on a molecular data generated by Openfermion.

mindquantum.algorithm.nisq.quccsd_generator

Generate qubit-UCCSD (qUCCSD) ansatz using qubit-excitation operators.

mindquantum.algorithm.nisq.uccsd0_singlet_generator

Generate UCCSD operators using CCD0 ansatz for molecular systems.

mindquantum.algorithm.nisq.uccsd_singlet_generator

Create a singlet UCCSD generator for a system with n_electrons.

Functional

mindquantum.algorithm.nisq.Transform

Class for transforms of fermionic and qubit operators.

mindquantum.algorithm.nisq.get_qubit_hamiltonian

Get the qubit hamiltonian of a molecular data.

mindquantum.algorithm.nisq.uccsd_singlet_get_packed_amplitudes

Convert amplitudes for use with singlet UCCSD.

mindquantum.algorithm.nisq.ansatz_variance

Calculate the variance of the gradient of certain parameters of parameterized quantum circuit.

mindquantum.algorithm.nisq.get_reference_circuit

Get preparation circuit for reference circuit according to different methods.