Circuit Library
This module provides a library of BosonicGate implementations.
State preparation
Column 1 | Column 2 |
|---|---|
InitializeModes(occupation) | Prepares a bosonic Fock state. |
Passive linear optics
A number-conserving transformation of the mode operators, generated by . Beamsplitters and phase shifters are the two-mode and single-mode special cases, and together they generate any .
Column 1 | Column 2 |
|---|---|
ModeRotation(rotation_unitary, *[, synthesis]) | Implements a passive linear-optical mode transformation. |
Time evolution
Column 1 | Column 2 |
|---|---|
Evolution(num_modes, operator[, time, ...]) | Implements the time evolution of a bosonic operator. |
Synthesis methods
How an Evolution gate gets decomposed in bosonic space is configurable through its synthesis argument. The available methods live in the synthesis module.
Was this page helpful?
Report a bug, typo, or request content on GitHub.