An Ultraviolet‐to‐NIR Broad Spectral Nanocomposite Photodetector with Gain | Synapse