Well - the idea for setting up the nuclear programme was discussed many times before 1971 but it was implement after the 1971 specially after the first indian nuclear test. Read this below-
''Munir Ahmed Khan (Who was as head of IAEA's Reactor Division) had his first meeting with Bhutto in October 1965 in
Vienna and asked him to inform the
Pakistan government about the quick advancement and advanced status of the
Indian nuclear programme; many options were drawn out by Munir Khan to Bhutto for Pakistan to acquire its own
nuclear deterrence capability. As Bhutto sensed the importance of the issue, he arranged Munir's private meeting with
President Ayub Khan on 11 December 1965, at the
Dorchester Hotel in
London. Without wasting time, Munir Khan asked President Ayub Khan to pursue the
nuclear deterrent against the India's armed
nuclear threat. While President Ayub Khan patiently listened to Munir Khan's offer, which according to Munir Khan, was available free of safeguards and at an affordable cost from international supplier states, the President swiftly dismissed the offer since he believed that Pakistan "was too poor to spend" so much money and ended the meeting that if needed, Pakistan would "somehow buy it off the shelf".
@Bharat Muslim