As to attack subs in the Taiwan littoral …
IANA sub guy. Per wiki the US owns a total of about 50 active attack subs of Los Angeles, Seawolf, and Virginia classes combined. That’s the entire arsenal. In one sense that’s a vast amount of firepower. In another sense, Earth’s oceans are a very big place.
If we assume (I have no real data) each sub spends about 2/3rds of its time at sea and 1/3rd being refurbished and/or re-whatevered in port that suggests about 34 are out on patrol or could be put out on patrol pronto. Of which WAG roughly half are in the Pacific or Indian oceans and are immediately relevant while the other half in the Arctic, Atlantic or Med and are near term irrelevant and might not be redeployed for strategic reasons. So baseline about 17 subs to prosecute the attack against a sortieing PLAN invasion fleet.
From wiki I gather each sub of those types carries ballpark 40 to 50 torpedoes or torpedo-tube-launched anti-ship Harpoons. Which suggests on the order of 750-800 total launchable rounds. Less whatever part of their load-out is land attack missiles, but let’s assume (unrealistically IMO) there’s zero of those.
At least in aerial missile firing doctrine a standard approach is “shoot, look, shoot”. IOW: launch, observe the outbound missile for signs of gross error, and fire a second after confirming whatever airplane-side stuff needs to be tracking the target is still doing so correctly. With two goals: one, missiles malfunction often. A second shot greatly raises the combined kill rate. Second, if the enemy recognizes they’re under attack and reacts, the presence of the second missile may be unnoticed in the excitement, and even if not, there are no defensive actions that can be optimized against both incoming rounds simultaneously.
IOW, there’s counter-defense synergism with two rounds in the air. It’s also common to fire the first round very promptly after you enter lock-on + in-range conditions then keep driving in a bit before loosing the second round in a more favorable geometry where the enemy escape maneuver options are much more, or entirely, foreclosed.
I have only the slightest notion of sub torp deployment doctrine from a long ago convo with a former LA -class deck officer. But I think it might be similar to aerial practice for similar reasons. So assuming the subs shoot-look-shoot, they can prosecute a total of 400 targets.
I have no clue what the success rate might be but again borrowing from aerial combat, in the modern digital computerized missile era the publicly available numbers are roughly 80% success. Despite “shoot look shoot”. So we can expect something north of 300 targets to be hit, and some lesser number of those sunk, before the entire sub fleet is out of ammo and must withdraw to a harbor (or tender ship well away from the hostilities) to reload.
As long as the SSN’s are disciplined and they’re shooting at high-ish value targets, say frigates and above, they have more ammo than the PLAN has targets. But if they try to plink landing ships, or worse yet debarked landing craft, the enemy has more targets than we have bullets. I hate it when that happens.
Gonna be a shit-show of brilliance and buffoonery on both sides. And astonishingly expensive. But a story to live down the centuries if it goes off.