Preheat your oven to 350°F (175°C). Grease a 9×5 inch loaf pan and set aside.
In a large mixing bowl, whisk together the granulated sugar, brown sugar, and melted butter until smooth.
Add the eggs and vanilla extract to the sugar mixture and whisk until well combined.
In a medium mixing bowl, sift together the flour, cocoa powder, baking powder, and salt.
Gradually add the dry ingredients to the wet ingredients, stirring until just combined.
Fold in the chocolate chips if using.
Pour the batter into the prepared loaf pan and spread it evenly.
Bake for 50-60 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs. Let it cool in the pan for 10 minutes, then transfer to a wire rack to cool completely.