Ok, so I have heard some cool stuff here and there about how to Quantize YangMills via cohomology, can anyone refer any texts in the literature that have shed some light on this, I mean I have some knowledge as to the basic heuristics. I know this is a really trivial question, but again I am a not very experienced yet, can someone sketch the basic technique,. ..
(The following is likely not the answer you are looking for, but it is an answer to what you actually ask.) The case can be made that all of quantization is via cohomology, namely that quantization is fundamentally pullpush in some generalized cohomology theory, hence is index theory. For geometric quantization in mechanics this insight is usually attributed to Bott: geometric quantization is really pushforward of the prequantum data in complex Ktheory, see here on the nLab for how this works and see at for more references. The basics of this insight are old, but still not very widely appreciated. One can further conceptualize this and observe that the mechanical system encoded by some Poisson manifold is the boundary field theory of the corresponding nonperturbative 2d PoissonChernSimons theory (this is discussed here) and that it is the natural "holographic" quantization of the boundary of that 2d QFT which is given by pushforward in Ktheory. This is spelled out fairly comprehensively in
One can then ask how to quantize not just mechanics (1dimensional field theory) but also higher dimension field theory cohomologically. Some comments on how to quantize 2dimensional field theory by pullpush in eliptic cohomology/tmf are at the end of the above thesis, but much less is known here. The basic mechanism of the cohomological quantization discussed by Nuiten is remarkably "fundamental". In a note I am writing it is observed that at the heart of it cohomological quantization is a fundamental operation in Grothendieck's "yoga of six functors". This is, as discussed there, essentially the cohomological integration mechanism that also appears in section 4.1 of the recent
To feel one's way as to the cohomological quantization of higher dimensional field theories, there is for instance the article
which discusses quantization of something like a simplified version of ChernSimons theory via pullpush in complex Ktheory. By the close relation of ChernSimons theory to YangMills theory, you may imagine this getting a tad closer to the remote goal of quantization of YangMills theory via pullpush in generalized cohomology. 


John Baez's introductory lectures can be found at http://math.ucr.edu/home/baez/qgfall2006/qgfall2006.html 

