Sorry if this is a stupid question, but the B2 and the Horten both look extremely similar.
Not in the least was the B2 based on the Horton 229. Back in the late 1930s, an aircraft designer named Jack Northrop was fascinated by the "flying wing" concept... so much so that in 1941, his N-1M first took to the skies, some three or four years ahead of the 229.
Northrop continued to build larger and larger flying wings, eventually arriving at the XB-35 and its jet powered sister, the YB-49.
While prophetic in their design, Northrop came up against the one common aspect of nearly all flying wings: they're inherently unstable. While this makes them quite nimble, it also makes them ridiculously difficult to fly without making a dorito-shaped hole in the ground. This was a problem without resolution until the invention of computer-controlled "fly-by-wire" systems that allowed planes that literally should not be able to fly without crashing to take to the skies successfully.
The Northop B2 bomber was developed using test flight data from the YB-49. In 1980, some nine years before the B-2 first flew, a very elderly Jack Northrop was shown into a highly secure area of the company he founded and shown a scale model of the design that would become the Spirit. He never got to see it fly, as he passed away in 1981, but he got to know that his obsession would finally be coming to fruition.
Oh, I'm sure that Northrop got to look at the Horton design at one time or another after the war, but his own flying wing designs were well-advanced by that time.