clemens_decomp
qoptcraft.optical_elements.clemens_decomp
Decompose a unitary into beamsplitters following Clemens et al.
clemens_decomposition(unitary)
Given a unitary matrix calculates the Clemens et al. decompositon into beam splitters and phase shifters:
D = L_n ... L_1 · U · R_1.inv ... R_n.inv => => U = L_1.inv ... L_n.inv · D · R_n ... R_1
Parameters:
Name | Type | Description | Default |
---|---|---|---|
unitary |
NDArray
|
unitary matrix to decompose. |
required |
Returns:
Type | Description |
---|---|
tuple[list[NDArray], NDArray, list[NDArray]]
|
list[NDArray]: list of matrices that decompose U in the order of the decomposition |
References
[1] Clements et al., "An Optimal Design for Universal Multiport Interferometers" arXiv, 2007. https://arxiv.org/pdf/1603.08788.pdf
Source code in qoptcraft/optical_elements/clemens_decomp.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|