“…Standard gate-based compilation is a well studied subject [4,10,18,23,51]. Practical techniques have been developed to improve the standard gate-based compilation from the reversible logic level down to the technology level, including studies of hand optimization, discrete [34,35] and continuous [38] template matching, and rule-based rewriting [37,53]. Template matching methods achieved impressive gate reduction on small and intermediate-scale circuits, though they are limited by having to manually search for new template rules for each specific gate library (for example, there is no library for iSWAP gates).…”