entangled-xyz / scotty

Quantum computing framework for Java and Scala developers.
https://www.entangled.xyz/scotty/
Apache License 2.0
24 stars 2 forks source link

Add dagger operation that can be applied to any gate #6

Closed vasinov closed 5 years ago

vasinov commented 5 years ago

It should work similar to Controlled:

Dagger(X(0))
Dagger(Controlled(0, SWAP(1, 2)))