qiskit/extensions/standard/ccx.py
def ccx(self, ctl1, ctl2, tgt):
    """Apply Toffoli to from ctl1 and ctl2 to tgt."""
    return self.append(ToffoliGate(), [ctl1, ctl2, tgt], [])
def ccx(self, ctl1, ctl2, tgt):
    return self.append(ToffoliGate(), [ctl1, ctl2, tgt], [])
def ccx ( self , ctl1 , ctl2 , tgt ) : return self . append ( ToffoliGate ( ) , [ ctl1 , ctl2 , tgt ] , [ ] )
Apply Toffoli to from ctl1 and ctl2 to tgt.
Apply Toffoli to from ctl1 and ctl2 to tgt .