qiskit-documentation/docs/api/qiskit/0.29/qiskit.chemistry.core.mdx

42 lines
3.4 KiB
Plaintext

---
title: core
description: API reference for qiskit.chemistry.core
in_page_toc_min_heading_level: 2
python_api_type: module
python_api_name: qiskit.chemistry.core
---
<span id="module-qiskit.chemistry.core" />
<span id="qiskit-chemistry-core" />
# Chemistry Core
<span id="module-qiskit.chemistry.core" />
`qiskit.chemistry.core`
**DEPRECATED** See [`qiskit.chemistry.transformations`](qiskit.chemistry.transformations#module-qiskit.chemistry.transformations "qiskit.chemistry.transformations") which replace this.
The core was designed to be an extensible system that took a [`QMolecule`](qiskit.chemistry.QMolecule "qiskit.chemistry.QMolecule") and created output which was ready to be input directly to an Aqua algorithm in the form of a qubit operator and list of auxiliary operators such as dipole moments, spin, number of particles etc.
The one implementation here, [`Hamiltonian`](qiskit.chemistry.core.Hamiltonian "qiskit.chemistry.core.Hamiltonian"), in essence wraps the [`FermionicOperator`](qiskit.chemistry.FermionicOperator "qiskit.chemistry.FermionicOperator") to provide easier, convenient access to common capabilities such that the [`FermionicOperator`](qiskit.chemistry.FermionicOperator "qiskit.chemistry.FermionicOperator") class need not be used directly.
# Core Base Class
| | |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- |
| [`ChemistryOperator`](qiskit.chemistry.core.ChemistryOperator "qiskit.chemistry.core.ChemistryOperator") | Base class for ChemistryOperator. |
| [`MolecularChemistryResult`](qiskit.chemistry.core.MolecularChemistryResult "qiskit.chemistry.core.MolecularChemistryResult") | Molecular chemistry Result |
| [`MolecularGroundStateResult`](qiskit.chemistry.core.MolecularGroundStateResult "qiskit.chemistry.core.MolecularGroundStateResult") | Molecular Ground State Energy Result. |
| [`MolecularExcitedStatesResult`](qiskit.chemistry.core.MolecularExcitedStatesResult "qiskit.chemistry.core.MolecularExcitedStatesResult") | Molecular Excited States Result |
# Core
| | |
| ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| [`Hamiltonian`](qiskit.chemistry.core.Hamiltonian "qiskit.chemistry.core.Hamiltonian") | A molecular Hamiltonian operator, representing the energy of the electrons and nuclei in a molecule. |
| [`TransformationType`](qiskit.chemistry.core.TransformationType "qiskit.chemistry.core.TransformationType") | Transformation Type enum |
| [`QubitMappingType`](qiskit.chemistry.core.QubitMappingType "qiskit.chemistry.core.QubitMappingType") | QubitMappingType enum |