nlft_qsp.solvers.completion.prony
¶
Module for polynomial completion based on Prony's method (taken from github.com/quantum-programming/gqsp-angle-finding).
Functions:
| Name | Description |
|---|---|
complete |
Uses Prony's method (arXiv:2202.02671) to find a complementary polynomial to the given one. |
complete(b: Polynomial) -> Polynomial
¶
Uses Prony's method (arXiv:2202.02671) to find a complementary polynomial to the given one.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
b
|
Polynomial
|
The polynomial to complete. |
required |
Note
Numerical stability is not guaranteed.
Returns:
| Name | Type | Description |
|---|---|---|
Polynomial |
Polynomial
|
A polynomial \(a(z)\) satisfying \(|a(z)|^2 + |b(z)|^2 = 1\) on the unit circle. |
Polynomial
|
In particular \((a, b)\) will be in the image of the NLFT. |