Skip to content

ProbeReset

TSGut edited this page Jan 17, 2018 · 12 revisions

ProbeReset resets the package such that the ProbeScan starts a completely new calculation. Additionally it is possible to set a new starting point via StartingPoint. If the option StartingPoint is not specified, the starting point is kept the same. If you want it to change the starting point back to a global minimum of the displacement energy, you can do this by specifying StartingPoint->"GlobalMinimum".

Note: If you skipped the calculation of a global minimum by picking a specific starting point, choosing StartingPoint->"GlobalMinimum" will trigger the calculation of the global minimum, so only pick that option if you wish to spend the time to look for a global minimum. If the global minimum was already previously calculated, then it will not need to be calculated again.

After the initialization of the package with ProbeInit, a call of ProbeReset is not necessary.

Options

ProbeReset admits the following options:

Options Description
StartingPoint If you want to change the starting point of the calculation, you can change it with this option. The allowed input is either a particular starting point via a List of m values or "GlobalMinimum". The dimension of the starting point has to match the length of the list of matrices.
Example: StartingPoint->{0.1,0.2,5.}

Example

<< BProbeM`

t = PauliMatrix[{1,2,3}];
ProbeInit[t];

Print[ ProbeGetPoints[] ];
(* the result is a list with one point (the starting point) *)

(* do the calculations *)
ProbeScan[];

Print[ ProbeGetPoints[] ];
(* the result is a list consisting of a lot of points *)

(* reset the calculation status *)
ProbeReset[];

Print[ ProbeGetPoints[] ];
(* the result is a list with one point again *)