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

Direct implementation of Gaussian gates #578

Open
nquesada opened this issue May 11, 2021 · 0 comments
Open

Direct implementation of Gaussian gates #578

nquesada opened this issue May 11, 2021 · 0 comments
Assignees
Labels
backend enhancement New feature or request

Comments

@nquesada
Copy link
Collaborator

nquesada commented May 11, 2021

Given the results from https://quantum-journal.org/papers/q-2020-11-30-366/ it should be possible to implement natively in Fock space any Gaussian gate. Thus for example we should not need to decompose the MZgate, CXgate, CZgate and Pgate . This should be bring the speed of all the gates to be fairly fast and comparable to the Sgate and BSgate and S2gate for 1 and 2 modes respectively.
Two accomplish this two steps are needed:

  1. Add in the thewalrus.fock_gradients the relevant recursion for calculation of the gradients and the gates themselves.
  2. Update the piping in SF so that these gates are now imported from thewalrus and used by the tf and fock backends.
@nquesada nquesada added backend enhancement New feature or request labels May 11, 2021
@sduquemesa sduquemesa self-assigned this Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants