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
306 stars 207 forks source link

Logarithmic mapper for `BosonicOp` #1345

Closed ftroisi closed 7 months ago

ftroisi commented 9 months ago

What should we add?

A Logarithmic mapper for the BosonicOp class

Purpose

Currently, Qiskit Nature offers many mappers for the FermionicOp class, but only the BosonicLinearMapper for the BosonicOp class. As the name suggests, the number of required qubits to represent any bosonic operator scales linearly with the number of modes and Fock states used to represent each mode. This strongly limits the possible applications of BosonicOp class, especially when dealing with mixed boson-fermion systems (see #795, #1188).

How

We need to add a BosonicLogarithmicMapper class, which inherits from BosonicMapper. This class will implement the mapping in Ref [1], in particular equation 7 (which defines how to map the creation operator). We will need to map the annihilation operator as well. The formulas can also be taken from the paper in Ref [2], equations (34, 35), and from Ref [3] equation (28, 29).

Note that this paper is published only in the Arxiv, but they are already cited and they all share the same results. Therefore, since they are independent, we can safely that their claims and formulas are correct.

References

ftroisi commented 9 months ago

@Anthony-Gandon I'm tagging you here after today's discussion (for some reason I couldn't find you in the assignees)

@mrossinek I'm tagging you as a maintainer to keep you in the loop. We discussed with Ivano that this is becoming a priority. I'm happy to work on the implementation

woodsp-ibm commented 9 months ago

for some reason I couldn't find you in the assignees

In general it will take someone to make a comment in the issue before they will appear in the assignees dropdown