Skip to content

ProbeGetExpectedLocation

TSGut edited this page Jan 17, 2018 · 2 revisions

ProbeGetExpectedLocation returns the expectation values (as a List) of the quantized embedding functions with respect to a state provided as argument. Alternatively, if a point in target space is given as argument, ProbeGetExpectedLocation returns the expectation values (as a List) of the quantized embedding functions with respect to the groundstate of the corresponding (Laplace/Dirac) operator.

This method admits no options.

Arguments

ProbeGetExpectedLocation has the following (non-optional) arguments:

Argument Description
state An element of the Hilbert space the Laplace/Dirac operator is acting on, which must be represented as a List of numbers.

Or alternatively:

Argument Description
point A point in the target space , which must be represented as a List of d numbers.

Examples

<< BProbeM`

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

(* retrieve the expectation values of the quantized embedding functions *)
(* with respect to the quasi-coherent state corresponding to the point (1,0,0) *)
location1 = ProbeGetExpectedLocation[ ProbeGetGroundstate[{1,0,0}] ];

(* equivalently one can directly pass the point (1,0,0) *)
location2 = ProbeGetExpectedLocation[ {1,0,0} ];

(* the result is the same *)
Print[location1 == location2]; (* returns True *)
Clone this wiki locally