MCPcopy Create free account
hub / github.com/Apress/quantum-machine-learning-python / QAOA.py

File QAOA.py

Chapter_7/listing7_3/QAOA.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import cirq
2import numpy as np
3print('cirq version',cirq.__version__)
4print('np version', np.__version__)

Callers

nothing calls this directly

Calls 2

QAOAClass · 0.85
mainMethod · 0.45

Tested by

no test coverage detected