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
Search the issue tracker to check if your feature has already been mentioned or rejected in other issues.
Describe the feature
I suggest there should be a function that allows to merge quantum registers.
With the current features of cudaq one, for instance, can do the following:
namely I can separate a quantum register. However I cannot merge quantum registers. This can be very useful when one has numerous quantum functions which handle the input registers differently. Suppose I have a function that works as follows:
Then I have another function that takes as input two quantum registers. Inside this function I want to apply Func1() to both the two registers together. In this case there is not, to my knowledge, a possibility to merge the two input quantum registers and apply the other function to the register which is the result of the merge. What I would liike to do is:
Required prerequisites
Describe the feature
I suggest there should be a function that allows to merge quantum registers.
With the current features of cudaq one, for instance, can do the following:
namely I can separate a quantum register. However I cannot merge quantum registers. This can be very useful when one has numerous quantum functions which handle the input registers differently. Suppose I have a function that works as follows:
Then I have another function that takes as input two quantum registers. Inside this function I want to apply Func1() to both the two registers together. In this case there is not, to my knowledge, a possibility to merge the two input quantum registers and apply the other function to the register which is the result of the merge. What I would liike to do is:
Is there the option to do so? If yes what is it? If not, it would be nice to have it.
Best regards!
The text was updated successfully, but these errors were encountered: