Interdisciplinary analysis and optimization of digital photonic devices for meta-photonics | Synapse