qiskit-community / qiskit-nature

Qiskit Nature is an open-source, quantum computing, framework for solving quantum mechanical natural science problems.
https://qiskit-community.github.io/qiskit-nature/
Apache License 2.0
301 stars 206 forks source link

Add a `HexagonalLattice` #956

Closed mrossinek closed 1 year ago

mrossinek commented 1 year ago

What should we add?

A new lattice should be added to the qiskit_nature.second_q.hamiltonians.lattices module, allowing the simple construction of hexagonal lattices.

Based on this class, we could then also add support for the quick construction of heavy-hex lattices which would be of great use for simulations on IBM Quantum devices. I am open to discuss whether we want a HeavyHexLattice subclass of the HexagonalLattice or whether we want to a heavy: bool = True keyword argument for the lattice class proposed by this feature request.

(This suggestion was extracted from #43)

javabster commented 1 year ago

You can assign this to me 😄

mrossinek commented 1 year ago

Although I have marked #1027 as closing this issue, we will leave the following additions for future extension. As of now, these are not planned but may be picked up by anyone who would like to. Once they do, they should open an issue for the specific feature to be added.