Quantum Learning and Estimation for Distribution Networks and Energy Communities Coordination