Quantum phase transitions in one-dimensional nanostructures: a comparison between DFT and DMRG methodologies | Synapse