Module QuantumPathQSOAPySDK.circuit.gates.basicGates

Classes

class CCXGate (position1: int, position2: int, position3: int)

Create Toffoli Gate obj.

Prerequisites

  • None.

Parameters

position1 : int
First qubit position to add the control.
position2 : int
Second qubit position to add the control.
position3 : int
Third qubit position to add the X gate.

Output

CCXGate obj

Ancestors

  • ControlledGate
  • QuantumPathQSOAPySDK.circuit.gates.gates.__QuantumGate

Inherited members

class CHGate (position1: int, position2: int)

Create Controlled Hadamard Gate obj.

Prerequisites

  • None.

Parameters

position1 : int
First qubit position to add the control.
position2 : int
Second qubit position to add the hadamard gate.

Output

CHGate obj

Ancestors

  • ControlledGate
  • QuantumPathQSOAPySDK.circuit.gates.gates.__QuantumGate

Inherited members

class CXGate (position1: int, position2: int)

Create Controlled X Gate obj.

Prerequisites

  • None.

Parameters

position1 : int
First qubit position to add the control.
position2 : int
Second qubit position to add the X gate.

Output

CXGate obj

Ancestors

  • ControlledGate
  • QuantumPathQSOAPySDK.circuit.gates.gates.__QuantumGate

Inherited members

class HGate (position: int)

Create Hadamard Gate obj.

Prerequisites

  • None.

Parameters

position : int
 

Qubit position to add the gate.

Output

HGate obj

Ancestors

  • SingleGate
  • QuantumPathQSOAPySDK.circuit.gates.gates.__QuantumGate

Inherited members

class SwapGate (position1: int, position2: int)

Create Swap Gate obj.

Prerequisites

  • None.

Parameters

position1 : int
First qubit position to add the swap.
position2 : int
Second qubit position to add the swap.

Output

SwapGate obj

Ancestors

  • MultipleGate
  • QuantumPathQSOAPySDK.circuit.gates.gates.__QuantumGate

Inherited members

class XGate (position: int)

Create Not Gate obj.

Prerequisites

  • None.

Parameters

position : int
Qubit position to add the gate.

Output

XGate obj

Ancestors

  • SingleGate
  • QuantumPathQSOAPySDK.circuit.gates.gates.__QuantumGate

Inherited members

class YGate (position: int)

Create Pauli Y Gate obj.

Prerequisites

  • None.

Parameters

position : int
Qubit position to add the gate.

Output

YGate obj

Ancestors

  • SingleGate
  • QuantumPathQSOAPySDK.circuit.gates.gates.__QuantumGate

Inherited members

class ZGate (position: int)

Create Pauli Z Gate obj.

Prerequisites

  • None.

Parameters

position : int
Qubit position to add the gate.

Output

ZGate obj

Ancestors

  • SingleGate
  • QuantumPathQSOAPySDK.circuit.gates.gates.__QuantumGate

Inherited members