tequila.circuit.gates.Toffoli

tequila.circuit.gates.Toffoli(first: int, second: int, target: int) → tequila.circuit.circuit.QCircuit[source]

Convenience Toffoli initialization

Parameters
  • first (int) – first control qubit

  • second (int) – second control qubit

  • target (int) – target qubit

Returns

Return type

QCircuit object