sf.ops.MeasureHD

MeasureHD = <strawberryfields.ops.MeasureHeterodyne object>

Performs a heterodyne measurement on a mode.

Also accessible via the shortcut variable MeasureHD.

Samples the joint Husimi distribution \(Q(\vec{\alpha}) = \frac{1}{\pi}\bra{\vec{\alpha}}\rho\ket{\vec{\alpha}}\). The measured mode is reset to the vacuum state.

Warning

The heterodyne measurement can only be performed in the Gaussian backend.

Parameters

select (None, complex) – (Optional) desired values of measurement result. Allows the post-selection of specific measurement results instead of randomly sampling.

Definition

Heterodyne measurement is a Gaussian projective measurement given by projecting the state onto the coherent states,

\[\frac{1}{\pi} \ket{\alpha}\bra{\alpha}\]