Owen L
Owen L
What version of pip are you using? I just tested with `pip 22.2` and it installed about as quickly as expected (
Yes, I also saw that conflict, but it doesn't seem to have an effect on execution. I just ran the intro tutorial colab with no problems (even with the conflict)....
Any updates on this or should it be closed?
To apply it on a |0> state you can just define an tensor `in_ = tfq.convert_to_tensor([cirq.Circuit()])` then do `PQC(in_)`. You can input arbitrary circuits (I think they have to be...
Good to see my code be useful to others. The input flow goes `circuit_tensor` -> `encoded` -> `ansatz_circuit` -> `Z, Z` ops. The circuit tensor input is the |0> state....
You have to actually call it (not just print what it is). So do quantum() rather than quantum.
Are you doing quantum or quantum()? It seems like the object is being printed, not the result of the call.
It looks like TF models require an input to all call functions (makes sense, TF tries to make a compute graph mapping inputs to outputs) and it doesn't like that...
You can apply it to the trainable variables of a ControlledPQC, yes
It is after, the ControlledPQC circuit is applied after the input then the result is generated