Programmable terahertz chip-scale sensing interface with direct digital reconfiguration at sub-wavelength scales View publication