Energetics of self-organization in a dissipative two-qubit system driven by single-photon pulses | Synapse