In this work we study numerically and analytically the interaction of two qubits in a one-dimensional waveguide, as mediated by the photons that propagate through the guide. We develop strategies to assert the Markovianity of the problem, the effective qubit-qubit interactions, and their individual and collective spontaneous emission. We prove the existence… (More)