Reversible circuit optimization using modified toffoli templates | IEEE Conference Publication | IEEE Xplore