Package com.polytechnik.kgo
Class DemoRecoverUnitaryMatrixFromSeq
java.lang.Object
com.polytechnik.kgo.DemoRecoverUnitaryMatrixFromSeq
A demo to recover unitary matrix \(\mathcal{U}\) from a sequence:
$$ X^{(l+1)}=\mathcal{U}X^{(l)} $$
This is a demo. No quality regularization! No constant injected to the basis.
If Gram matrix \( G_{ij}=\sum\limits_{l} X_i^{(l)}X_j^{(l)} \) is degenerated --
the code fails since no quality regularization is used!
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
Command line options forDemoRecoverUnitaryMatrixFromSeq
. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final double
To turn on a selftest. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double[]
getUFromArgsGramMatrixChannel
(String[] args) static double[]
getUFromArgsUnitMatrixChannel
(String[] args) (package private) static double[]
(package private) static double[]
static void
(package private) static void
-
Field Details
-
eps
static final double epsTo turn on a selftest.- See Also:
-
-
Constructor Details
-
DemoRecoverUnitaryMatrixFromSeq
public DemoRecoverUnitaryMatrixFromSeq()
-
-
Method Details
-
getUFromArgsGramMatrixChannel
- Throws:
IOException
-
getUFromArgsUnitMatrixChannel
- Throws:
IOException
-
getUFromConfigGramMatrixChannel
static double[] getUFromConfigGramMatrixChannel(DemoRecoverUnitaryMatrixFromSeq.RUConfig c) throws IOException - Throws:
IOException
-
getUFromConfigUnitMatrixChannel
static double[] getUFromConfigUnitMatrixChannel(DemoRecoverUnitaryMatrixFromSeq.RUConfig c) throws IOException - Throws:
IOException
-
printU
-
main
- Throws:
IOException
-