Quantum spins and hybridization in artificially-constructed chains of magnetic adatoms on a superconductor