New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pulse builder "macro" decorator #4960
Comments
how can i contribute to this? |
Hello @Aniket049, to get started you could add the macro decorator to |
yes.please assigned this project to me.I will be greatful
…On Mon, 31 Aug, 2020, 10:53 PM Thomas Alexander, ***@***.***> wrote:
Hello @Aniket049 <https://github.com/Aniket049>, to get started you could
add the macro decorator to pulse.builder.py and add some
documentation/tests. We could iterate from there. Would you like to me to
assign this to you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4960 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANEUJ4BARB72C56DXO5SINDSDPMA5ANCNFSM4QGENYAA>
.
|
Hi @Aniket049, have you made any progress here? |
Yes Thomas.I have build the code and will be ready after couple of tests.I
will post it with a pull request within a week.
…On Tue, 15 Sep, 2020, 10:57 PM Thomas Alexander, ***@***.***> wrote:
Hi @Aniket049 <https://github.com/Aniket049>, have you made any progress
here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4960 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANEUJ4AX6EYLSRG2V2GKJX3SF6PXZANCNFSM4QGENYAA>
.
|
Hi @Aniket049, any update here? 😄 |
Hello @Aniket049, I've reassigned to myself as I needed this functionality. I hope this isn't too much of an inconvenience. |
What is the expected enhancement?
I have found a decorator of this form very useful for constructing pulse experiments from functions.
I suggest
macro
to represent a python function with an activated builder context that will be called and evaluated during program construction. I propose that we reservefunction
for support of pulse functions which will be analyzed and compiled as a function in the pulse IR with a signature, to then be loaded and evaluated in the hardware.We should add this to the standard pulse builder library, document, rename what needs to be to be clearer and test.
The text was updated successfully, but these errors were encountered: