You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The inliner does not understand an argument annotated as a qreg which also has a default of None. The typical current solution is to leave off the annotation. See for example basic_sequences/helpers.py:create_cal_seqs.
It seems there is some case in create_inline_procedure that is not adding a proper entry to the rewriter.
There is a loop around line 656 looking for keyword params, which should be catching this (combined with the loop around line 703 inserting the constant value in this case), but clearly there is something missing.
The inliner does not understand an argument annotated as a
qreg
which also has a default ofNone
. The typical current solution is to leave off the annotation. See for examplebasic_sequences/helpers.py:create_cal_seqs
.Symptoms (after recent improvements):
The text was updated successfully, but these errors were encountered: