traveling_wave_laser ¤
Electrically pumped, bidirectional delayed-gain laser circuit component.
Fields are power-normalized (sqrt(W)); reservoirs store integrated modal gain. Cell flight times are native Circulax inline delays. The optical gain/carrier law and diode conventions match the SOA. Facets are internal to the component; left/right are outgoing field outputs. Seed is a transmitted coherent envelope added at the left inner boundary.
For a reconfigurable cavity, use hybrid_laser_netlist and the separate bidirectional gain, interface, phase and reflector sections in laser_sections. This integrated-facet model remains useful as a restricted reference case.
Classes:
| Name | Description |
|---|---|
LaserParameters | Illustrative material/cavity settings in SI units, for netlist settings. |
Functions:
| Name | Description |
|---|---|
CoherentSeed | Single compact sin² field pulse, deterministic; power_w is peak power (W). |
carrier_density | Convert cell integrated gain to local carrier density (m⁻³). |
material_scales | Return active volume (m³), modal gain slope (m²), saturation energy (J). |
resonant_detuning | Propagation calibration (rad/s) making the nominal threshold mode stationary. |
seeded_initial_state | Prepare a coherent threshold-mode initial history on a circuit DC state. |
threshold | Uniform dark-state threshold: gain (1/m), carrier density (1/m³), current (A). |
traveling_wave_laser | Return a native Circulax component class with a static segment count. |
LaserParameters ¤
CoherentSeed ¤
CoherentSeed(
signals: Signals,
t: float,
power_w: float = 1e-12,
start_s: float = 2e-11,
duration_s: float = 4e-11,
) -> PhysicsReturn
Single compact sin² field pulse, deterministic; power_w is peak power (W).
Source code in circulax/components/traveling_wave_laser.py
carrier_density ¤
carrier_density(p: LaserParameters, integrated_gain: ArrayLike, segments: int) -> Array
Convert cell integrated gain to local carrier density (m⁻³).
Source code in circulax/components/traveling_wave_laser.py
material_scales ¤
material_scales(p: LaserParameters) -> tuple
Return active volume (m³), modal gain slope (m²), saturation energy (J).
Source code in circulax/components/traveling_wave_laser.py
resonant_detuning ¤
resonant_detuning(p: LaserParameters) -> Array
Propagation calibration (rad/s) making the nominal threshold mode stationary.
Source code in circulax/components/traveling_wave_laser.py
seeded_initial_state ¤
seeded_initial_state(
circuit: Circuit,
dc_state: Array,
p: LaserParameters,
segments: int = 8,
*,
instance: str = "LASER",
seed_power_w: ArrayLike = 1e-12,
mirrors: MirrorParameters | None = None,
frame_offset_rad_s: ArrayLike = 0.0
) -> Array
Prepare a coherent threshold-mode initial history on a circuit DC state.
Retain electrical bias, set every reservoir to threshold, and initialize both optical directions consistently with the facets. The native solver extends this state constantly before t=0. This is a specified coherent initial condition, not spontaneous emission. The seed input must be zero during the subsequent free-running simulation. The principal mode assumes detuning_rad_s=resonant_detuning(p). For filtered mirrors, mirrors must match the component settings; segments and frame_offset_rad_s must match its topology/frame. The supplied frame must be an actual longitudinal phase root, not just a desired wavelength. This condition is checked for nonzero seeds. dc_state uses the circuit's standard real/imaginary block representation.
Source code in circulax/components/traveling_wave_laser.py
threshold ¤
threshold(p: LaserParameters) -> tuple[Array, Array, Array]
Uniform dark-state threshold: gain (1/m), carrier density (1/m³), current (A).
Source code in circulax/components/traveling_wave_laser.py
traveling_wave_laser cached ¤
traveling_wave_laser(
segments: int = 8, *, tunable_mirrors: bool = False
) -> type[CircuitComponent]
Return a native Circulax component class with a static segment count.
Ports: anode/cathode (V/A), seed/left/right (sqrt(W)). Seed is added inside the left facet; left reports intracavity outcoupling only, not the externally reflected part of an incident seed beam. Optical outputs impose outgoing fields independent of their numerical load; they are not bidirectional scattering ports. Facets and all cavity feedback are inside the component. With tunable_mirrors=True, add heater_phase/filter/return electrical ports, two temperature-rise states, and a causal filtered right reflector. A physical external cavity would require separate incoming and outgoing ports and is outside this model's contract.
States f_j and b_j are fields arriving at each cell's right/left edge; h_j is the local integrated modal gain. Both incoming directions see the same h_j and deplete that reservoir. Transmission uses the gain at arrival time, uniform along a cell: a first-order retarded-gain approximation that converges as flight time per cell decreases. Constant-gain transport and round-trip phase/loss are exact, apart from solver/history interpolation.
Source code in circulax/components/traveling_wave_laser.py
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | |