Is the parameters input in the same manner for two different `tfq.layers`?
Shuhul24 opened this issue · 1 comments
Shuhul24 commented
I am using two different layers: tfq.layers.ControlledPQC
and tfq.layers.State
. But the circuit, parameter symbols and parameters values are same. Is the manner in which these parameter values / weights get distributed same for evaluating tfq.layers.ControlledPQC
and tfq.layers.State
?
lockwo commented
For state, the user explicitly maps the parameter names and their values, assuming the parameter names are the same in the ControlledPQC, then yes (also true if you specify the names in values to the ControlledPQC)