Gaussian state
What is Gaussian state
The equivalent problem in function approximation
Setup parameters
beta = 100;
targ = @(x) exp(-beta/2 *asin(x).^2);
deg = 100;
opts.intervals=[0,sin(1)];
opts.objnorm = Inf;
opts.epsil = 0.01;
opts.npts = 500;
opts.fscale = 0.99;
opts.isplot=true;
opts.maxiter = 100;
opts.criteria = 1e-12;
opts.useReal = true;
opts.targetPre = true;
opts.method = 'LBFGS';Approximating the target function by polynomials


Solving phase factors by running the solver
Verifying the solution

Reference
Last updated