Basic Single and Two Qubit Gates (quanguru.QuantumToolbox.basicGates)#

Contains some basic single and two qubit gates.

Function Name

Docstrings

Examples

Unit Tests

Tutorials

CNOT

      ❌

    ❌

    ❌

    ❌

CPHASE

      ❌

    ❌

    ❌

    ❌

Hadamard

      ❌

    ❌

    ❌

    ❌

CNOT(sparse: bool = True) spmatrix | ndarray[source]#
CPHASE(phase: float, sparse: bool = True) spmatrix | ndarray[source]#
Hadamard(sparse: bool = True) spmatrix | ndarray[source]#