SwapGate
Extends:
Swap gate class (swaps 2 qubits) also self inverse gate
Constructor Summary
| Public Constructor | ||
| public | 
      
       | 
    |
Member Summary
| Public Members | ||
| public | 
      
       | 
    |
| public get | 
       matrix: *  | 
    |
Method Summary
| Public Methods | ||
| public | 
       getInverse(): *  | 
    |
| public | 
      
       | 
    |
Inherited Summary
| From class BasicGate | ||
| public static | 
      
       Convert quantum input of "gate | quantum input" to internal formatting.  | 
    |
| public | 
      
       | 
    |
| public | 
      
       | 
    |
| public | 
      
       | 
    |
| public | 
       generateCommand(qubits: *): Command Helper function to generate a command consisting of the gate and the qubits being acted upon.  | 
    |
| public | 
      
       | 
    |
| public | 
      
       | 
    |
| public | 
      
       | 
    |
| public | 
       or(qubits: *) Operator| overload which enables the syntax Gate | qubits.  | 
    |
| public | 
       toString()  | 
    |
| From class BasicMathGate | ||
| public | 
       mathFunc: *  | 
    |
| public | 
       getMathFunction(qubits: Array<Qureg>): function Return the math function which corresponds to the action of this math gate, given the input to the gate (a tuple of quantum registers).  | 
    |
| public | 
      
       | 
    |