Implement a basic HQC Algorithm with a simple variational quantum circuit with one parameter.
Use a Gradient based optimizer to update the value of the variational parameter by optimizing in a classical loop.
[Leave a comment in this thread for more clarifications about the issue]
You can refer to this pennylane blog to implement the circuit