CQCL / pytket-docs

User manual and example notebooks for the pytket quantum computing toolkit
https://docs.quantinuum.com/tket/user-guide/
Apache License 2.0
331 stars 90 forks source link

Update Quantum phase estimation example notebook #327

Closed CalMacCQ closed 6 months ago

CalMacCQ commented 6 months ago

Description

Updating the QPE example notebook so that the name QFT† shows up in the circuit diagram

This is done by explicitly setting the name of the CircBox with CircBox.circuit_name(Added in the 1.27.0 pytket release).

I've also used Circuit.add_gate where possible in prefernce to other Circuit methods.

Screenshot 2024-04-22 at 15 40 09

Related issues

Please mention any github issues addressed by this PR.

Checklist