mindquantum.simulator

Contents

mindquantum.simulator#

Quantum simulator that simulate evolution of quantum system.

Class#

API Name

Description

GradOpsWrapper(...[, sim])

Wrapper the gradient operator that with the information that generate this gradient operator.

Simulator(backend[, ...])

Quantum simulator that simulate quantum circuit.

NoiseBackend(base_sim, ...)

Noise simulator backend based on channel adder.

MQChemSimulator(...)

A simulator for quantum chemistry based on the Configuration Interaction (CI) method.

CIHamiltonian(...)

A wrapper for a fermionic Hamiltonian to be used with the MQChemSimulator.

UCCExcitationGate(...)

Unitary Coupled-Cluster (UCC) excitation gate, for use with the MQChemSimulator.

Function#

API Name

Description

fidelity(rho, sigma)

Calculate the fidelity of two quantum states.

get_supported_simulator()

Get simulator name that supported by MindQuantum.

inner_product(...)

Calculate the inner product of two state that in the given simulator.

get_stabilizer_string(sim)

Get the string expression of a stabilizer.

get_tableau_string(sim)

Get the string expression of a stabilizer tableau.

decompose_stabilizer(sim)

Decompose a stabilizer into clifford quantum circuit.

prepare_uccsd_vqe(...)

Prepare all components for a UCCSD-VQE simulation with the MQChemSimulator.