Quantum buckling