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?
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)
I am using two different layers:
tfq.layers.ControlledPQC
andtfq.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 evaluatingtfq.layers.ControlledPQC
andtfq.layers.State
?