Class Model

java.lang.Object
org.redfx.strange.simulator.Model

public class Model
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    javafx.collections.ObservableList<java.lang.Double> getEndStates()  
    java.lang.String getGateDescription()  
    java.util.List<java.util.List<org.redfx.strange.Gate>> getGates()  
    org.redfx.strange.Gate[] getGatesByStep​(int idx)  
    static Model getInstance()  
    int getNQubits()  
    int getNumberOfSteps()  
    java.util.List<org.redfx.strange.Gate> getStepsByCircuit​(int idx)  
    void printGates()  
    javafx.beans.property.BooleanProperty refreshRequest()  
    void setGatesForCircuit​(int n, java.util.List<org.redfx.strange.Gate> gates)  
    void setNQubits​(int n)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getInstance

      public static Model getInstance()
    • refreshRequest

      public javafx.beans.property.BooleanProperty refreshRequest()
    • getEndStates

      public javafx.collections.ObservableList<java.lang.Double> getEndStates()
    • setNQubits

      public void setNQubits​(int n)
    • getNQubits

      public int getNQubits()
    • getGates

      public java.util.List<java.util.List<org.redfx.strange.Gate>> getGates()
    • setGatesForCircuit

      public void setGatesForCircuit​(int n, java.util.List<org.redfx.strange.Gate> gates)
    • getNumberOfSteps

      public int getNumberOfSteps()
    • getStepsByCircuit

      public java.util.List<org.redfx.strange.Gate> getStepsByCircuit​(int idx)
    • getGatesByStep

      public org.redfx.strange.Gate[] getGatesByStep​(int idx)
    • getGateDescription

      public java.lang.String getGateDescription()
    • printGates

      public void printGates()