We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76fe36e commit 5835e3cCopy full SHA for 5835e3c
1 file changed
qokit/qaoa_circuit.py
@@ -56,7 +56,7 @@ def append_cost_operator_circuit(qc: QuantumCircuit, terms: Sequence, gamma: flo
56
elif any([isinstance(i, tuple) for i in term]):
57
raise ValueError(f"Invalid term received: {term}")
58
else:
59
- append_z_prod_term(qc, term, gamma / 2)
+ append_z_prod_term(qc, term, gamma)
60
61
62
def append_mixer_operator_circuit(qc: QuantumCircuit, beta: float) -> None:
0 commit comments