Class LocalSimulator
java.lang.Object
org.redfx.strange.simulator.local.LocalSimulator
- All Implemented Interfaces:
Simulator
public class LocalSimulator extends java.lang.Object implements Simulator
-
Constructor Summary
Constructors Constructor Description LocalSimulator() -
Method Summary
Modifier and Type Method Description double[]calculateQubitStates(Model m)org.redfx.strange.Complex[]calculateResults(org.redfx.strange.Gate[][] gates)org.redfx.strange.Complex[]calculateResults(Model m)
-
Constructor Details
-
LocalSimulator
public LocalSimulator()
-
-
Method Details
-
calculateResults
public org.redfx.strange.Complex[] calculateResults(org.redfx.strange.Gate[][] gates)- Specified by:
calculateResultsin interfaceSimulator
-
calculateResults
- Specified by:
calculateResultsin interfaceSimulator
-
calculateQubitStates
- Specified by:
calculateQubitStatesin interfaceSimulator
-