Skip to content

Backpropagating through a circuit #726

Closed Answered by MatteoRobbiati
BrunoLiegiBastonLiegi asked this question in Q&A
Discussion options

You must be logged in to vote

I was thinking about the same thing @scarrazza says.
Your problem seems to be an hyper-optimization one. In this case you are not directly derivating with respect to the gates' parameters, but you are searching for an instrument which allows you to calculate the derivative of the circuit's output with respect, e.g. the number of layers , right?

Tensorflow's GradientTape module is able to track all the state vector's modification under your assumptions (you must define all your elements inside the Gradient Tape).

I must have a look deeply in literature searching for some hardware-compatible hyper-optimization techinques (of course you can try with Genetic Algos, but I am not sure it will b…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@BrunoLiegiBastonLiegi
Comment options

@MatteoRobbiati
Comment options

@BrunoLiegiBastonLiegi
Comment options

Answer selected by BrunoLiegiBastonLiegi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants