📄 Background
In the QPIXL_demo.ipynb notebook, the cFRQI_with_alg_demo function illustrates a conceptual example of combining a QPIXL-encoded image with a quantum algorithm circuit. A similar technique is applied in the process_audio function at the end of the notebook.
However, these integrations are currently hardcoded and not easily extensible.
🎯 Goal
Develop a flexible mechanism to allow the integration of:
- An arbitrary quantum circuit (e.g., a standard or QPIXL circuit),
- A QPIXL-encoded data circuit
- A custom rule for how to combine/slice these circuits together (e.g. merge, slice or apply sequentially)
- Solution can either be a Jupyter notebook or an additional source code file, but must have a simple programatic interface. Ideally it should work as a .py file, so an implementation like that would be preferentially chosen.
An example is available in the notebook and illustrated in this diagram:

This can be delivered as a class or a function and it should return a valid combined quantum circuit.
Refactoring existing code for clarity and modularity is encouraged.
📄 Background
In the
QPIXL_demo.ipynbnotebook, thecFRQI_with_alg_demofunction illustrates a conceptual example of combining a QPIXL-encoded image with a quantum algorithm circuit. A similar technique is applied in theprocess_audiofunction at the end of the notebook.However, these integrations are currently hardcoded and not easily extensible.
🎯 Goal
Develop a flexible mechanism to allow the integration of:
An example is available in the notebook and illustrated in this diagram:
This can be delivered as a class or a function and it should return a valid combined quantum circuit.
Refactoring existing code for clarity and modularity is encouraged.