Class StandardGates.U1Gate

java.lang.Object
com.quantum4j.core.gates.SingleQubitGate
com.quantum4j.core.gates.StandardGates.U1Gate
All Implemented Interfaces:
Gate
Enclosing class:
StandardGates

public static final class StandardGates.U1Gate extends SingleQubitGate
U1(λ): [[1, 0], [0, e^{iλ}]]
  • Constructor Details

    • U1Gate

      public U1Gate(double lambda)
  • Method Details

    • name

      public String name()
      Description copied from interface: Gate
      Get the name of this gate (e.g., "H", "X", "CNOT").
      Returns:
      the gate name
    • getLambda

      public double getLambda()