Package org.redfx.strangefx.ui
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 -
Field Summary
FieldsFields inherited from class org.redfx.strange.gate.SingleQubitGate
idx -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.redfx.strange.gate.SingleQubitGate
getAffectedQubitIndexes, getHighestAffectedQubitIndex, getMainQubitIndex, getName, getSize, setAdditionalQubit, setInverse, setMainQubitIndex, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.redfx.strange.Gate
applyOptimize, getMatrix, hasOptimization
-
Field Details
-
GROUP_PARTIAL
- See Also:
- Constant Field Values
-
-
Constructor Details
-
PartialGate
public PartialGate(int idx) -
PartialGate
-
-
Method Details
-
getMatrix
public org.redfx.strange.Complex[][] getMatrix()- Specified by:
getMatrixin interfaceorg.redfx.strange.Gate- Specified by:
getMatrixin classorg.redfx.strange.gate.SingleQubitGate
-
getCaption
- Specified by:
getCaptionin interfaceorg.redfx.strange.Gate- Overrides:
getCaptionin classorg.redfx.strange.gate.SingleQubitGate
-
getGroup
- Specified by:
getGroupin interfaceorg.redfx.strange.Gate- Overrides:
getGroupin classorg.redfx.strange.gate.SingleQubitGate
-