Hi, I want to define 2 different qnodes q_1, q_2, and share parameters between them. For example, q_1 involves parameters a and b; q_2 involves parameters a and c.
While according to the definition of KerasLayer, only the shape of parameters is required:
qlayer = qml.qnn.KerasLayer(q1, weight_shapes, output_dim=d)
So I don’t know how to input and share parameters between different devices. Besides, the documentation says QnodeCollection can share all parameters in different qnodes. However, I just want to share some parameters, so QnodeCollection seems don’t work. Is it possible in Pennylane?