Skip to content

HATT: Hamiltonian Aware Ternary Tree for Optimizing Fermion-to-Qubit Mapping

Notifications You must be signed in to change notification settings

acasta-yhliu/hattmapper

Repository files navigation

HATT: Hamiltonian Aware Ternary Tree for Optimizing Fermion-to-Qubit Mapping

Requirements

Before install dependencies, you need:

  • Linux
  • Python 3.9+
  • virtual environment (venv)
  • We are using a pre-release version of qiskit_nature

Create the virtual environment:

python3 -m venv venv
source venv/bin/activate

Then install necessary Python packages:

pip3 install -r requirements.txt

Usage

We contain these mappers:

  1. HATTMapper: The Fermion-to-qubit mapper with vacuum state preservation and optimization.

  2. HATTPairingMapper: The mapper with only vacuum state preservation based on operator pairing but no travserse optimization.

  3. HATTNaiveMapper: The most basic one. No vacuum state preservation.

You could compare these mappers according to our paper. However, the HATTMapper is the one you should use.

Citation

To cite our paper:

About

HATT: Hamiltonian Aware Ternary Tree for Optimizing Fermion-to-Qubit Mapping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published