The problem is, there aren't quality products in India. India does not have the ability to produce quality products. China does. China produces the 2nd amount of scientific papers and 3rd amount of patents in the world. Most of our exports aren't even the cheap stuff like we had 15 years ago, now it's mostly steel, chemicals, electronics, machine tools, shipbuilding, etc. low tech stuff like textiles make up only 6% of our exports in value. Our high tech stuff, except consumer electronics, is not displayed the way Japan's is. We make mostly capital goods like construction equipment, railway cars, generators, telecom equipment, chemical reactors, boilers, machine tools, military planes, shipbuilding, satellites, etc. When you talk about service in India, you're probably thinking of call centers and programming outsourcing. Services in China are things like IC design, engineering contracting, satellite launches, geophysical mapping, finance, etc.
India isn't behind China due to wages. China's average wages are 3x-4x that of an Indian worker. India is behind due to corruption, lack of electricity, high illiteracy, low average calorie intake and worst of all, a brutal form of exploitation that pays a tiny elite huge salaries while keeping the rest of the population in starvation.
Like you said, we have to measure quality and not just quantity. So think about those "roads" in india vs the "roads" in China, and think about the "rail" in India vs the "rail" in China, and we can talk. One is famous for being the fastest in the world, 30% faster than the 2nd fastest in Japan. The other is famous for being the slowest in the world.
List of countries by rail transport network size - Wikipedia, the free encyclopedia
Also, our quantity is also greater. It's in fact 50% larger than India's. There is just no comparison. Look at electricity.
List of countries by electricity production - Wikipedia, the free encyclopedia
We're producing 4x that of India.
The differences between India can be summed up like this: they don't have our steel, they don't have our education, they don't have our electricity, they don't have our railroads and they don't have our government. A tiny elite is overpaid, the rest starve. Indian IT has not produced a single independent IT product. China's IT industry is worth 4x more and has produced thousands of independent software products. Indian IT is outsourcing of brainless coding, Chinese IT is creative design of new programs. This is reflected in the difference between China and India: India was forced to import Lockheed Martin's control software for the LCA, while China never even touches foreign control systems.