Class PartialGate

  • All Implemented Interfaces:
    org.redfx.strange.Gate

    public class PartialGate
    extends org.redfx.strange.gate.SingleQubitGate
    Author:
    johan
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String GROUP_PARTIAL  
      • Fields inherited from class org.redfx.strange.gate.SingleQubitGate

        idx
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCaption()  
      java.lang.String getGroup()  
      org.redfx.strange.Complex[][] getMatrix()  
      • Methods inherited from class org.redfx.strange.gate.SingleQubitGate

        getAffectedQubitIndexes, getHighestAffectedQubitIndex, getMainQubitIndex, getName, getSize, setAdditionalQubit, setInverse, setMainQubitIndex, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.redfx.strange.Gate

        applyOptimize, getMatrix, hasOptimization
    • Method Detail

      • getMatrix

        public org.redfx.strange.Complex[][] getMatrix()
        Specified by:
        getMatrix in interface org.redfx.strange.Gate
        Specified by:
        getMatrix in class org.redfx.strange.gate.SingleQubitGate
      • getCaption

        public java.lang.String getCaption()
        Specified by:
        getCaption in interface org.redfx.strange.Gate
        Overrides:
        getCaption in class org.redfx.strange.gate.SingleQubitGate
      • getGroup

        public java.lang.String getGroup()
        Specified by:
        getGroup in interface org.redfx.strange.Gate
        Overrides:
        getGroup in class org.redfx.strange.gate.SingleQubitGate