mindquantum.framework

Operators

API Name

Description

Supported Platforms

mindquantum.framework.MQOps

MindQuantum operator that get the expectation of a hamiltonian on a quantum state evaluated by a parameterized quantum circuit (PQC).

GPU, CPU

mindquantum.framework.MQN2Ops

MindQuantum operator that get the square of absolute value of expectation of a hamiltonian on a quantum state evaluated by a parameterized quantum circuit (PQC).

GPU, CPU

mindquantum.framework.MQAnsatzOnlyOps

MindQuantum operator that get the expectation of a hamiltonian on a quantum state evaluated by a parameterized quantum circuit (PQC).

GPU, CPU

mindquantum.framework.MQN2AnsatzOnlyOps

MindQuantum operator that get the square of absolute value of expectation of a hamiltonian on a quantum state evaluated by a parameterized quantum circuit (PQC).

GPU, CPU

mindquantum.framework.MQEncoderOnlyOps

MindQuantum operator that get the expectation of a hamiltonian on a quantum state evaluated by a parameterized quantum circuit (PQC).

GPU, CPU

mindquantum.framework.MQN2EncoderOnlyOps

MindQuantum operator that get the square of absolute value of expectation of a hamiltonian on a quantum state evaluated by a parameterized quantum circuit (PQC).

GPU, CPU

Layer

API Name

Description

Supported Platforms

mindquantum.framework.MQAnsatzOnlyLayer

MindQuantum trainable layer.

GPU, CPU

mindquantum.framework.MQN2AnsatzOnlyLayer

MindQuantum trainable layer.

GPU, CPU

mindquantum.framework.MQLayer

MindQuantum trainable layer.

GPU, CPU

mindquantum.framework.MQN2Layer

MindQuantum trainable layer.

GPU, CPU