Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
melsman authored Nov 24, 2024
1 parent 0263b2b commit 3789791
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ Result distribution when evaluating c on |101> :
`Diagram` structure and extend the `Circuit.draw` function to draw controlled
control-gates using the new functionality.

7. Write an "optimiser" that takes a circuit and replaced it with an "optimised"
circuits with the same or fewer gates. For instance, incorporate the identity
7. Write an "optimiser" that takes a circuit and replaces it with an "optimised"
circuit with the same or fewer gates. For instance, incorporate the identity
`I = H ** H`. Maybe use the identity (_A_ `**` _B_ `oo` _D_ ** _E_ = (_A_
`oo` _D_) ** (_B_ `oo` _E_), given appropriate dimension restrictions, to
`oo` _D_) ** (_B_ `oo` _E_), given appropriate dimension restrictions and associativity of `**`, to
make your optimiser recognise more opportunities.

8. Write a recursive function `inverse` that takes a circuit and returns the
Expand Down

0 comments on commit 3789791

Please sign in to comment.