Using the logo’s structure
The oracle must assign the required phase to each of the 4,096 pixels of a 64 × 64 image while cleaning up its work qubits. Rather than treating every pixel independently, the construction uses the repeated row and column patterns: 11 classes can each be represented by a four-bit code. This reduces the structure that the central phase operation has to encode.
Optimizing the interfaces as well as the gates
The circuit loads class codes, applies a 63-term phase polynomial, and reverses the loading computation. Gate count alone does not determine depth: the arrival time of each signal and the dependencies between operations also affect the schedule. Ready-time scheduling and loader/phase interfaces therefore form part of the optimization, followed by exhaustive verification of the completed circuit.
Implementation & checks
- Compress 11 distinct row and column patterns into four-bit class codes.
- Load the class codes, apply a 63-term phase polynomial, then uncompute the loaders.
- Use ready-time scheduling and interface optimization to reduce depth; verify the final 18-qubit U3/CX construction exhaustively.