Dynamic Template Matching with Mixed-Polarity Toffoli Gates | IEEE Conference Publication | IEEE Xplore