Codebook: Introduction to Variational Quantum Algorithms

Hello,
I believe there is an error in the formula for the commutator of P and B. It should also include a second term with U^dag(-pi/2)BU(-pi/2).

1 Like

Hi @yoshypdf ,

Great catch!
Thank you for helping us make the Codebook better! :raised_hands: