If I had to guess, this is probably the USS John F. Kennedy: https://en.wikipedia.org/wiki/USS_John_F._Kennedy_(CVN-79)
the only thing that comes to mind, is the smallest yield settings of a modern tactical nuke B61-12
Or for general shake and vibration and shock force testing of the entire ship, simulating a combat environment. Unlike the shake/rattle/hydraulic ram rigs which are used to qualify a new airliner design on a structural test article, there's no other way than lots of explosives to shake/vibrate an entire Nimitz, Ford class size aircraft carrier.
If you look at e.g. seismic damage models, peak acceleration is correlated with most of the worst outcomes.
Exercises where the US military uses decommissioned aircraft carriers and other large ships as targets are illustrative. They are basically unsinkable. You can hit them with torpedoes, bombs, missiles, etc all day. At the end of the exercise they usually have to send over a specialized demolition crew to actually scuttle the ship. Astonishingly damage resistant.
A nuke would of course do the trick but now you are playing a different game.
People chronically underestimate how difficult it is to get enough conventional explosive on target to sink a major naval vessel, even ignoring the extensive active defenses.
https://www.pacaf.af.mil/News/Article-Display/Article/452930...