After obtaining Quartz from a mine or producer they need to be crushed, washed and cleaned. Then put them in a ball mill and grind them until they become fine particles. If there Fe species you can use a magnet to clean them.
When it comes to clays, You can have all kind of elements in them Fe, Mg, Al, K, Na, ... it is not an easy task to extract Si from them. Al2o3, Fe2o3, SiO2 are the commonly found oxides to be extracted, may contain other impurities depending on the location of the clay...
Characterization: To see the quality and purity level you will need to do the characterization at that point. ED-XRF, XRD, EDX are commonly used techniques.
Reduction:
If you think the purity level is enough ( you can check the standards for solar cells) then you can reduce your SiO2 with coke (or Mg) which will yield CO2(g) and Si. Here is a website which explains the main steps. http://educationalelectronicsusa.com/c/metals-XVII.htm
thank you for your rapid answer. The objectif is to extract SiO2 from a clay or a sand, after that, making thin layer of Si in a substrat that is ready to applied it like photo-vltaic cell. I learned that there is chemical methods which can help me to this extraction
OK, but these are TWO DIFFERENT objectives! After you extract SiO2, where and how you suppose to make a thin layer of Si? On what substrate, on this SiO2? Or you want SiO2 on Si?
Sorry but you question is still messy, please explain first in details what you want to do.