Given that \( a \) and \( b \) are positive integers such that \( \sqrt{a} \times \sqrt{b} = \sqrt{ab} \), find the smallest integer \( n \) such that \( 2^n \times \sqrt{2} \) is a perfect square. Let's think step by step and output the final answer within \boxed{}.
user