# Conventions and formulas¶

“The nice thing about standards is that you have so many to choose from.” - Tanenbaum [59]

In this section, we provide the definitions of various quantum operations used by Strawberry Fields, as well as introduce specific conventions chosen. We’ll also provide some more technical details relating to the various operations.

Note

In Strawberry Fields we use the convention $$\hbar=2$$ by default, but other conventions can also be chosen by setting the global variable strawberryfields.hbar at the beginning of a session. In this document we keep $$\hbar$$ explicit.

Note

The Kraus representation of the loss channel is found in [62] Eq. 1.4, which is related to the parametrization used here by taking $$1-\gamma = T$$.