This particular research is literally built off of weapons research (National Ignition Facility).
The key thing here is the Lasers aren't doing the immediate compression, the lasers are simulating X-Ray radiation which then is ablating the casing around the tritium. Figuring out how to create and amplify a x-ray pulse was a major sticking point in the Star Wars program.