forked from Budapest-Quantum-Computing-Group/piquasso
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: Linear gates in Fock simulators
The `get_linear_fock_operator` function has been rewritten to decompose the transformation to a separate passive and active transformation via polar decomposition, then on the active transformation, Takagi decomposition is used to decompose it into two passive transformations and a set of single mode squeezings. The `get_passive_fock_operator` has been refactored to ease its use in `get_linear_fock_operator`.
- Loading branch information
1 parent
e515a70
commit a2f18b4
Showing
6 changed files
with
139 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.