qml.devices.default_gaussian.homodyne

homodyne(phi=None)[source]

Function factory that returns the Homodyne expectation of a one mode state.

Parameters

phi (float) – the default phase space axis to perform the Homodyne measurement

Returns

A function that accepts a single mode means vector, covariance matrix, and phase space angle phi, and returns the quadrature expectation value and variance.

Return type

function

Contents

Using PennyLane

Development

API

Internals