Instead of a subway line, would it be possible to close off one of San Francisco's many east-west streets (Geary if you like, probably a couple north-south of there would be better) and run a light rail line (using Muni Metro or similar cars) on an east-west route?
You could adjust the timing of the traffic lights to ensure that the rail line always (or usually) has priority and cross the whole city in ten minutes.