what is the process of mining quartz