Document feedback

Question document fragment

When a question document fragment contains a formula, it is displayed as a space.

Submission type
issue

It's a little complicated...

I'd like to ask someone.

Please select the submission type

Problem type
Specifications and Common Mistakes

- Specifications and Common Mistakes:

- Misspellings or punctuation mistakes,incorrect formulas, abnormal display.

- Incorrect links, empty cells, or wrong formats.

- Chinese characters in English context.

- Minor inconsistencies between the UI and descriptions.

- Low writing fluency that does not affect understanding.

- Incorrect version numbers, including software package names and version numbers on the UI.

Usability

- Usability:

- Incorrect or missing key steps.

- Missing main function descriptions, keyword explanation, necessary prerequisites, or precautions.

- Ambiguous descriptions, unclear reference, or contradictory context.

- Unclear logic, such as missing classifications, items, and steps.

Correctness

- Correctness:

- Technical principles, function descriptions, supported platforms, parameter types, or exceptions inconsistent with that of software implementation.

- Incorrect schematic or architecture diagrams.

- Incorrect commands or command parameters.

- Incorrect code.

- Commands inconsistent with the functions.

- Wrong screenshots.

- Sample code running error, or running results inconsistent with the expectation.

Risk Warnings

- Risk Warnings:

- Lack of risk warnings for operations that may damage the system or important data.

Content Compliance

- Content Compliance:

- Contents that may violate applicable laws and regulations or geo-cultural context-sensitive words and expressions.

- Copyright infringement.

Please select the type of question

Problem description

Describe the bug so that we can quickly locate the problem.

mindquantum.core.operators

MindQuantum operators library. An operator is composed of a combination of one or more basic gates.

Contains classes representing:

  • Qubit operators

  • Fermion operators

  • TimeEvolution operator

Class

mindquantum.core.operators.FermionOperator

Definition of a Fermion Operator.

mindquantum.core.operators.Hamiltonian

A QubitOperator hamiltonian wrapper.

mindquantum.core.operators.InteractionOperator

Class to store 'interaction opeartors' which are used to configure a ferinonic molecular Hamiltonian.

mindquantum.core.operators.PolynomialTensor

Class to store the coefficient of the fermionic ladder operators in a tensor form.

mindquantum.core.operators.Projector

Projector operator.

mindquantum.core.operators.QubitExcitationOperator

QubitExcitationOperator class.

mindquantum.core.operators.QubitOperator

A sum of terms acting on qubits, e.g., 0.5 * 'X1 X5' + 0.3 * 'Z1 Z2'.

mindquantum.core.operators.TimeEvolution

The time evolution operator that can generate a corresponded circuit.

Function

mindquantum.core.operators.commutator

Compute the commutator of two operators.

mindquantum.core.operators.count_qubits

Calculate the number of qubits on which operator acts before removing the unused qubit.

mindquantum.core.operators.down_index

Down index getter function.

mindquantum.core.operators.get_fermion_operator

Convert the tensor (PolynomialTensor) to FermionOperator.

mindquantum.core.operators.ground_state_of_sum_zz

Find the ground state energy of qubit operator that only has pauli Z term.

mindquantum.core.operators.hermitian_conjugated

Return Hermitian conjugate of FermionOperator or QubitOperator.

mindquantum.core.operators.normal_ordered

Calculate and return the normal order of the FermionOperator.

mindquantum.core.operators.number_operator

Return a fermionic number operator for the reverse_jordan_wigner transform.

mindquantum.core.operators.sz_operator

Return the sz operator.

mindquantum.core.operators.up_index

Up index getter function.