Class StandardGates.U3Gate

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

public static final class StandardGates.U3Gate extends SingleQubitGate
U3(θ, φ, λ): [ cos(θ/2) , -e^{iλ} sin(θ/2) ] [ e^{iφ} sin(θ/2) , e^{i(φ+λ)} cos(θ/2) ]
  • Constructor Details

    • U3Gate

      public U3Gate(double theta, double phi, 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
    • getTheta

      public double getTheta()
    • getPhi

      public double getPhi()
    • getLambda

      public double getLambda()