  In this paper we present a new method of proof of Hardy type inequalities for
two-dimensional quantum Hamiltonians with a magnetic field of finite flux. Our
approach gives a quantitative lower bound on the best constant in these
inequalities both for Schr\"odinger and Pauli operators. Pauli operators with
Aharonov-Bohm magnetic field are discussed as well.
