In the given figure, the angles $\angle B A Q=\angle C P Q=\angle C B Q=\frac{\pi}{2}$; and the lengths $Q A=3$ units, $A B=$ 4 units, and $B C=1$ unit. What is the length of $P Q$ ?