Interferometer

Model for simulation of a Mach-Zehnder interferometer.

This module introduces a model for simulation of a Mach-Zehnder interferometer (MZI), used to measure time bin encoded qubits in the X-basis. Interferometers are usually instantiated as part of a QSDetector object, defined in the detector.py module.

class src.components.interferometer.Interferometer(name: str, timeline: Timeline, path_diff, phase_error=0)

Class modeling a Mach-Zehnder interferometer (MZI).

Useful for measurement of time bin encoded photons in the X-basis.

name

label for beamsplitter instance

Type:

str

timeline

timeline for simulation

Type:

Timeline

path_difference

difference (in ps) of photon transit time in interferometer branches

Type:

int

phase_error

phase error applied to measurement

Type:

float

get(photon: Photon, **kwargs) None

Method to receive a photon for measurement.

Parameters:

photon (Photon) – photon to measure (must have time bin encoding)

Returns:

None

Side Effects:

May call get method of one attached receiver from the receivers attribute.

init() None

See base class.