Optically modulated ionic conductivity in a hydrogel for emulating synaptic functions | Synapse