Skip to content

Commit

Permalink
Merge pull request #52 from dallonasnes/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
Q-lds authored Mar 13, 2024
2 parents ce575ce + 0f96df0 commit 9797cac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/making-sense-of-the-result.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ A QAOA workflow is composed by 4 parts. this example, we have used the default v

Result is a class attribute of the object `q`, and its chief role is that of keeping a record of the steps behind the workflow.

In particular, there are three pain attributes of the result object:
In particular, there are three main attributes of the result object:

### The optimized result

Expand Down
2 changes: 1 addition & 1 deletion docs/what-is-the-qaoa.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ This means that we now know how to construct the QAOA circuit for any QUBO probl
The classical loop procedure in quantum computing involves the following steps:

1. Encoding the optimization problem into a parametric quantum circuit
2. InitializingInitializing the circuit parameters
2. Initializing the circuit parameters
3. Evaluating the cost function, which represents the energy of the system described by the quantum circuit, by measuring the expectation value of the cost Hamiltonian $\langle \psi|\mathcal{H}_C|\psi\rangle$.
4. Updating the circuit parameters using a classical optimization algorithm, such as gradient descent or COBYLA, to minimize the cost function and find the optimal solution to the optimization problem.

Expand Down

0 comments on commit 9797cac

Please sign in to comment.