We are nobody to decide anything.What has happened,has happened.If I am not mistaken,I think A.Q. Khan mainly stole technology related to enriching Uranium,not the technology for making a bomb.
A.Q.Khan did go through a lot of troubles to make Pakistan a nuclear power.He did work for the infrastructure,for production.There is an indication that China had helped as well,about assembling an A-bomb .It is quite impossible to test a nuclear device within less than a month after India's testing had their been no external help.
To start with the biggest misconception about Pakistan nuclear program is that AQ was responsible for it. He was responsible for a very small part of it and was propped up to distract attention. As far as the device is concerned it was "cold tested" for the first time in 1983 i.e. without the nuclear core and was tested again many times in similar fashion. In 1998 they simply added the core and did hot tests. This is all public information now, so please go do some research before you make a fool out of your self. Even better do a Google Earth search of Pakistani military-nuclear-industrial complex and you will be surprised how big it is.
Yes Pakistan did get help from China but it was Quid Pro Quo because they had something we needed and we had something they needed. For that matter we also got help from Turkey, Germany, Switzerland, UK, France and the US and a few other countries.