Laser#

class Laser(ports: Union[str, List[str]], power: float = 1.0, phase: float = 0.0, mod_function=None)[source]#

Bases: simphony.simulation.SimDevice

Ideal laser source.

Parameters
  • ports (str or list of str) – The ports to which the laser is connected.

  • power (float, optional) – The power of the laser (in mW), by default 1.0

  • phase (float, optional) – The phase of the laser (in radians), by default 0.0

  • mod_function (Callable, optional) – The modulation function, by default None.