InnerProduct(bra, ket) is the unevaluated <bra|ket>; doit()
evaluates it when the states know their inner product.
Examples
InnerProduct(Bra("a"), Ket("b"))
#> <a|b>
doit(InnerProduct(OrthogonalBra(1), OrthogonalKet(2)))
#> 0
InnerProduct(bra, ket) is the unevaluated <bra|ket>; doit()
evaluates it when the states know their inner product.
InnerProduct(Bra("a"), Ket("b"))
#> <a|b>
doit(InnerProduct(OrthogonalBra(1), OrthogonalKet(2)))
#> 0