Class PartialGate

java.lang.Object
org.redfx.strange.gate.SingleQubitGate
org.redfx.strangefx.ui.PartialGate
All Implemented Interfaces:
org.redfx.strange.Gate

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

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
     

    Fields inherited from class org.redfx.strange.gate.SingleQubitGate

    idx
  • Constructor Summary

    Constructors
    Constructor
    Description
    PartialGate​(int idx)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    org.redfx.strange.Complex[][]
     

    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
  • Field Details

  • Constructor Details

  • Method Details

    • 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 String getCaption()
      Specified by:
      getCaption in interface org.redfx.strange.Gate
      Overrides:
      getCaption in class org.redfx.strange.gate.SingleQubitGate
    • getGroup

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