Learning low-degree quantum objects