QIPA: Variational quantum iterative power algorithms for global optimization Thi Ha Kyaw, Micheline B. Soley, Brandon Allen, Paul Bergold, Chong Sun, Victor S. Batista, and Alán Aspuru-Guzik Here we provide some sample python codes to reproduce data presented in the arXiv version.