Working QTF

created a working n-qubit qtf