this is somewhat related but only barely, ive actually always been curious about the energy needed to make stars self destruct, cause most star calcs i see are about blowing the entire thing apart
but 99% of the suns fusion happens in the core, and the pressure of the resulting fusion pushes outward, slowing the process down and creating the balance that holds the star together.
View attachment 1144 The equilibrium of a star
So, were one to project a massive amount of energy directly into the suns core, you could increase the internal pressure to insane levels, causing fusion to
SPIKE by an absolutely ridiculous amount, and the star rapidly explodes outward.
But i dont know how much power that requires and i wish i did, cause this has always been cool to me
Edit: I just remembered to include this, it adds to my point; the reason our sun will become a red giant is that it begins to run out of fuel, and gravity quickly begins collapsing it, however the collapse causes even more, heavier elements to fuse and the energy of the fusion makes the sun expand
The sun will keep expanding at this point until it engulfs the inner planets, and then its outer layers will just keep going and dissipate into space, leaving behind a white dwarf