Technologies for terahertz frequency sensing