Template Function libwalrus::interferometer_cpp¶
Defined in File hermite_multidimensional.hpp
Function Documentation¶
-
template<typename
T
>
T *libwalrus
::
interferometer_cpp
(const std::vector<T> &R, const int &cutoff)¶ Returns the matrix elements of an interferometer parametrized in terms of its R matrix
- Parameters
R
: a flattened vector of size \(n^2\), representing a \(n\times n\) symmetric matrix.cutoff
: highest number of photons to be resolved.
libwalrus_cpp_api/function_namespacelibwalrus_1ae0a6063d8271a13adc3465d6924bcd52
Download Python script
Download Notebook
View on GitHub
Contents
Downloads