@_to_bits(<NUM_LIT:3>)<EOL>@_op_expand(<NUM_LIT:3>, broadcastable=[True, True, False])<EOL>def ccx(self, ctl1, ctl2, tgt):
return self.append(ToffoliGate(), [ctl1, ctl2, tgt], [])<EOL>
Apply Toffoli to from ctl1 and ctl2 to tgt.