mindquantum.algorithm.nisq

NISQ算法。

Base Class

Encoder

mindquantum.algorithm.nisq.IQPEncoding

通用IQP编码。

mindquantum.algorithm.nisq.QuantumNeuron

基于RUS(Repeat-Until-Success)策略的量子神经元实现,通过量子电路模拟经典神经元行为和激活函数。

Ansatz

mindquantum.algorithm.nisq.HardwareEfficientAnsatz

HardwareEfficientAnsatz是一种可以很容易地在量子芯片上高效实现的ansatz。

mindquantum.algorithm.nisq.Max2SATAnsatz

Max-2-SAT ansatz。

mindquantum.algorithm.nisq.MaxCutAnsatz

MaxCut ansatz。

mindquantum.algorithm.nisq.QubitUCCAnsatz

量子比特幺正耦合簇(qUCC)是幺正耦合簇的变体,它使用量子比特激励算子而不是费米子激励算子。

mindquantum.algorithm.nisq.SGAnsatz

序列生成(SG)ansatz,用于一维量子系统。

mindquantum.algorithm.nisq.SGAnsatz2D

序列生成(SG)ansatz,用于二维量子系统。

mindquantum.algorithm.nisq.StronglyEntangling

强纠缠ansatz。

mindquantum.algorithm.nisq.UCCAnsatz

用于分子模拟的幺正耦合簇。

以下Ansatz来源于论文 Expressibility and entangling capability of parameterized quantum circuits for hybrid quantum-classical algorithms.

Generator

mindquantum.algorithm.nisq.generate_uccsd

使用OpenFermion生成的分子数据生成uccsd量子线路。

mindquantum.algorithm.nisq.quccsd_generator

使用比特激发算符生成 qubit-UCCSD (qUCCSD) ansatz。

mindquantum.algorithm.nisq.uccsd0_singlet_generator

利用CCD0 ansatz来生成分子系统的UCCSD算子。

mindquantum.algorithm.nisq.uccsd_singlet_generator

n_electrons 的系统生成单态UCCSD算子。

Functional

mindquantum.algorithm.nisq.Transform

将费米子或者玻色子进行转化的模块。

mindquantum.algorithm.nisq.get_qubit_hamiltonian

获取分子数据的哈密顿量。

mindquantum.algorithm.nisq.uccsd_singlet_get_packed_amplitudes

提取单态UCCSD算子的振幅系数。

mindquantum.algorithm.nisq.ansatz_variance

计算变分量子线路中的某个参数的梯度的方差。

mindquantum.algorithm.nisq.get_reference_circuit

根据不同的方法获取制备初态的线路。