Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCNOT example #175

Merged
merged 2 commits into from
May 8, 2024
Merged

CCNOT example #175

merged 2 commits into from
May 8, 2024

Conversation

enum-class
Copy link

I’ve been exploring quantum concepts with this library, and have created a simple example, and submitted a pull request. If it’s useful, please consider to be merge. If not, or redundant feel free to close it.

  • Toffoli gate
  • Toffoli with T and CNOT
  • Sleator Weinfurter construction

examples/toffoli.cpp Outdated Show resolved Hide resolved
@vsoftco
Copy link
Member

vsoftco commented May 7, 2024

Thanks! Please add it into examples/toffoli.cpp. The examples/circuits/ directory is for examples that use the qpp::QCircuit class.

@vsoftco vsoftco merged commit ecab251 into softwareQinc:dev May 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants