Exact quantum description of the Aharonov–Bohm effect