Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a MixedOperator #795

Open
mrossinek opened this issue Aug 18, 2022 · 1 comment · May be fixed by #1188
Open

Implement a MixedOperator #795

mrossinek opened this issue Aug 18, 2022 · 1 comment · May be fixed by #1188
Assignees
Labels
type: feature request New feature or request

Comments

@mrossinek
Copy link
Member

What should we add?

We would like to add support for more complex models which couple various types of particles (e.g. fermions with bosons).
Among other things, this finds application in lattice gauge theory which is a planned addition to the lattice framework (see e.g. #556 which is the simplest LGT case).

A rough list of requirements which are needed for this to work are:

  • a MixedOperator class which can hold multiple kinds of operators (i.e. FermionicOp, SpinOp, etc.)
    • the above class should allow storage of interaction coefficients between different operator kinds (in addition to the operator-internal coefficients ofcourse)
  • an extension/addition of the QubitConverter to handle a MixedOperator
    • this requires multiple QubitMapper instances for all operator types contained in the mixed op
    • this should handle delegation of the various qubit registers: e.g. the fermionic operators get mapped to qubits q1 .. qN and the spin operators get mapped to qubits q(N+1) ... q(N+M)
    • purely fermionic operators need to be tensored with all-identity operators on the qubit-registers assigned to the spin-subsystem
    • purely spin operators are tensored with all-identity terms on the fermionic-subsystem (etc.)
    • mixed operators are mapped individually and then tensored together in the qubit-space taking into account the potential mixing coefficients stored in the MixedOperator

⚠️ Disclaimer: this is mostly an assortment of some thoughts. A first step for tackling this issue would be to come with a design on how to achieve this, given the rough outline of requirements presented above. I am happy to answer questions with more details 👍

@Anthony-Gandon
Copy link
Contributor

I would like to participate implementing this MixedOp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants