The diagram shows a right-angled isosceles triangle $XYZ$ which circumscribes a square $PQRS$. What is the ratio of the area of square $PQRS$ to the area of the triangle $XYZ$?