They wouldn't need a bomber. Load it into a sub and try to make it into San Francisco Bay or the port of Los Angeles on a day when the prevailing winds are blowing east to maximize fallout on the city.
Early in the War that might have been possible, by 1943 or possibly early 1944 it would have been nearly inpossible for a Japanese sub to make it to the West Coast.
I just don’t think the Germans would have given an atomic bomb to the Japanese. The Nazis didn’t like the Japanese and they would have had a much better chance of bombing London or Moscow.