Hi Matthias,
In a LVS deck, when comparing netlists, it is currently possible to allow swapping device terminals in a pair. For example (e1, e2, e3) is equivalent to (e3, e2, e1) when e1 and e3 can be swapped. Same for circuits.
In photonics, it is common to have devices with symmetries with functionally equivalent groups of terminals. For example, for a 4-ports device with one symmetry axis, have (o1, o2, o3, o4) and (o4, o3, o2, o1) are equivalent. Or with 2 symmetry axes, (o1, o2, o3, o4), (o4, o3, o2, o1), (o2, o1, o4, o3) and (o3, o4, o1, o2) are all equivalent.
Would it be possible to extend the the solver to try the different equivalent groups when comparing netlists?