# Function: Toffoli gate # Used Library: MCT (gates: 1, quantum costs: 5) # This file have been taken from RevLib (www.revlib.org). .version 1.0 .numvars 3 .variables a b c .inputs a b c .outputs a b c .constants --- .garbage --- .begin t3 c b a .end