TOKYO—World leaders gathered Tuesday for the state funeral of Japan’s longest-serving prime minister, Shinzo Abe, who was killed by an assassin’s bullet in July.

Vice President Kamala Harris leads the U.S. delegation, which includes three former ambassadors to Japan and the current ambassador, Rahm Emanuel.