XanaduAI / strawberryfields

Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
https://strawberryfields.ai
Apache License 2.0
745 stars 187 forks source link

[WIP] Add a specific symplectic optimizer for gaussian gate #606

Closed sylviemonet closed 2 years ago

sylviemonet commented 3 years ago

Context: Add a specific symplectic optimizer for gaussian gate so that one can update the symplectic matrix S along its Riemannian manifold.

Description of the Change: Add an optimizer inherit the optimizer_v2 of TensorFlow inside TF backend. Work in progress with @ziofil.

Benefits:

Possible Drawbacks: Need to warn the user to use it...

Related GitHub Issues:

sylviemonet commented 2 years ago

The optimizer is simply a function so that I put it in the last commit #599 directly.