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.


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