class_docstr: Hybrid quantum - classical function definition 
class_docstr_tok: ["Hybrid","quantum","-","classical","function","definition"]
docstr: Forward pass computation 
docstr_tok: ["Forward","pass","computation"]
code: def forward(ctx, input, quantum_circuit, shift):
      """Forward pass computation"""
      ctx.shift = shift
      ctx.quantum_circuit = quantum_circuit
  
      expectation_z = ctx.quantum_circuit.run(input.tolist())
      result = torch.tensor(expectation_z)
      ctx.save_for_backward(input, result)
  
      return result
  
imports: import torch
  import qiskit
  import numpy
  from lightwood.mixer.helpers.default_net import DefaultNet
  from lightwood.helpers.torch import LightwoodAutocast
label_desc: Use image node_id 1 for calling the HybridSingleFunction obj's underlying member method code with example usage: obj.forward(ctx, input, quantum_circuit, shift) and returns: result