Skip to content
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

Adding parameter shift gradient as a fucntion #155

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

Micheallscarn
Copy link
Contributor

#133 i made a function to calculate the gradient of a given model, it returns a tensor of the gradients using the parameter shift rule as a part of the unitaryhack, added to utils.py

@Hanrui-Wang
Copy link
Collaborator

Hi Micheal, thank you for the contributions! could you send a message in the issue #133 so that i can assign you?

@nathanshammah
Copy link

There is time until next week (June 20th) for revisions.

@Hanrui-Wang Hanrui-Wang merged commit 20a9cd4 into mit-han-lab:unitary_hack Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants