Skip to content

Conversation

@NazTM
Copy link

@NazTM NazTM commented Jun 2, 2025

Fixes #3
Addressing the current limitations due to hardcoded integrations within the given cFRQI_with_alg_demo function, this PR includes a function to combine QPIXL-encoded image circuits with quantum algorithm circuits.

Changes:

  1. Refactored cFRQI_with_alg_demo to only return the FRQI image encoding circuit.
  2. Introduced a new CircuitCombiner class with support for sequential mode, merge mode and a custom mode for interleaving control.
  3. Included driver code demonstrating the application all three modes (sequential, merge, custom) in the notebook.
  4. Updated markdown cells to explain both the modified function and the newly introduced class.

Added CircuitCombiner class for updated cFRQI_with_alg_demo function, with usage examples for demonstration
@danielbultrini
Copy link
Contributor

Thank you! I will compare the implementations tomorrow, I was on vacation until today, hence why I didn't manage to update you until today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make a function that takes a circuit as an input and mixes it with the QPIXL input.

2 participants