QuTech-Delft / OpenSquirrel

A flexible (Python-based) quantum program compiler
Apache License 2.0
5 stars 2 forks source link

Allow kwargs in circuit builder #82

Open pablolh opened 7 months ago

pablolh commented 7 months ago

Allow passing kwargs for gates in the CircuitBuilder

Currently this is not allowed (qft is a CircuitBuilder instance):

qft.crk(control=Qubit(c), target=Qubit(i), k=Int(c-i+1))