Pixelated non-volatile programmable photonic integrated circuits with 20-level intermediate states | Synapse