flamingpy.cv.ops.splitter_symp

flamingpy.cv.ops.splitter_symp(n=4)[source]

Return the symplectic matrix of a four-splitter.

Return the symplectic matrix of the beamsplitters connecting the four micronodes in each macronode. n refers to the total number of modes (so n >= 4). If n = 4, return the matrix in the ‘all q’s first’ convention; otherwise, return a large block-diagonal matrix in the ‘q1p1, …, qnpn’ convention.

Parameters

n (int, optional) – the total number of modes on which the beamsplitters apply (n must be >= 4).

Returns

the sympletic matrix of the four-splitter.

Return type

numpy.array

Contents

Home

Background

Using FlamingPy

Development

Getting Help

Python API