Qaintum / Qaintessent.jl

Digital quantum circuit simulator written in Julia
Apache License 2.0
30 stars 8 forks source link

Make ccntrl an optional argument for gates #78

Closed keefehuang closed 3 years ago

keefehuang commented 3 years ago

This is to prevent failure when creating CircuitGates CircuitGates have constructors of the form:

CircuitGate(iwires, gate; ccntrl=...). The ; corresponds to required keyword arguments. These must be optional arguments with default parameters for greater flexibility. Changing the ; to ,.