Module QuantumPathQSOAPySDK.circuit.gates.rotationGates

Classes

class PGate (position: int, argument='pi')

Create Phase Gate obj.

Prerequisites

  • None.

Parameters

position : int
Mandatory argument. Qubit position to add the gate.
argument : str | int | float
Optional argument. Gate angle value. In the case that it is not indicated, it will be pi by default.

Output

PGate obj

Ancestors

Inherited members

class RXGate (position: int, argument='pi')

Create Rotation X Gate obj.

Prerequisites

  • None.

Parameters

position : int
Mandatory argument. Qubit position to add the gate.
argument : str | int | float
Optional argument. Gate angle value. In the case that it is not indicated, it will be pi by default.

Output

RXGate obj

Ancestors

Inherited members

class RYGate (position: int, argument='pi')

Create Rotation Y Gate obj.

Prerequisites

  • None.

Parameters

position : int
Mandatory argument. Qubit position to add the gate.
argument : str | int | float
Optional argument. Gate angle value. In the case that it is not indicated, it will be pi by default.

Output

RYGate obj

Ancestors

Inherited members

class RZGate (position: int, argument='pi')

Create Rotation Z Gate obj.

Prerequisites

  • None.

Parameters

position : int
Mandatory argument. Qubit position to add the gate.
argument : str | int | float
Optional argument. Gate angle value. In the case that it is not indicated, it will be pi by default.

Output

RZGate obj

Ancestors

Inherited members