Papers
Topics
Authors
Recent
Search
2000 character limit reached

Block-Product Gadget: Quantum Matrix Multiplication

Updated 10 April 2026
  • Block-product gadget is a suite of unitary circuits that compute matrix, Kronecker, and Hadamard products from quantum block-encodings with efficient resource usage.
  • The construction leverages sophisticated ancilla management and permutation operators to achieve exponential ancilla-qubit savings with only a moderate gate complexity increase.
  • Its application in quantum Hamiltonian simulation and quantum linear algebra improves algorithmic scaling and feasibility on near-term and future quantum devices.

A block-product gadget is a suite of unitary circuit constructions that enable resource-efficient computation of matrix products—specifically matrix-matrix, Kronecker, and Hadamard products—between quantum block-encodings. These gadgets enable significant reductions in required ancilla qubits, often yielding exponential savings for multipart products, with only a moderate increase in two-qubit gate complexity. Block-product gadgets form a foundational tool in quantum algorithms for Hamiltonian simulation and quantum linear algebra by providing a systematic framework for manipulating and combining block-encoded quantum operators (Dong et al., 19 Sep 2025).

1. Block-Encoding Framework

Block-encoding is a standard technique for embedding a (rectangular or square) complex matrix ACN×NA \in \mathbb{C}^{N \times N} (where N=2nN=2^n) into a higher-dimensional unitary UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}. An (α,a,ε)(\alpha, a, \varepsilon)-block-encoding of AA is a unitary UU such that

(0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,

i.e., the top-left 2n×2n2^n\times2^n block of UU approximates A/αA/\alpha within error N=2nN=2^n0. This formalism allows quantum algorithms to manipulate large matrices via their encodings as unitaries, facilitating further product and functional constructions.

2. Matrix–Matrix Product Gadget

Given block-encodings N=2nN=2^n1 of N=2nN=2^n2 and N=2nN=2^n3 of N=2nN=2^n4, the block-product gadget constructs a block-encoding N=2nN=2^n5 of N=2nN=2^n6 using padded ancillas and permutations: N=2nN=2^n7 Here, N=2nN=2^n8 is a computational-basis permutation that aligns inner blocks for multiplication. The resulting encoding satisfies

N=2nN=2^n9

The gate complexity is UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}0, where the extra overhead arises from the realization of UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}1. The construction yields exponential ancilla-qubit savings for chains of products by avoiding naïve ancilla allocation per factor.

3. Kronecker and Hadamard Product Gadgets

(a) Kronecker Product

For UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}2 encoding UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}3 and UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}4 encoding UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}5, the natural tensor product UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}6 contains UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}7 among its blocks. Applying permutations UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}8 to the ancillas extracts UC2n+a×2n+aU \in \mathbb{C}^{2^{n+a} \times 2^{n+a}}9 into the top-left block. The gadget has:

  • Ancilla usage: (α,a,ε)(\alpha, a, \varepsilon)0 (no extra qubits).
  • Gate overhead: (α,a,ε)(\alpha, a, \varepsilon)1, with (α,a,ε)(\alpha, a, \varepsilon)2, (α,a,ε)(\alpha, a, \varepsilon)3.
  • For (α,a,ε)(\alpha, a, \varepsilon)4 powers of two: (α,a,ε)(\alpha, a, \varepsilon)5 CNOT gates.

(b) Hadamard Product

For (α,a,ε)(\alpha, a, \varepsilon)6 and (α,a,ε)(\alpha, a, \varepsilon)7 encoding (α,a,ε)(\alpha, a, \varepsilon)8, fan-out unitaries (α,a,ε)(\alpha, a, \varepsilon)9 and AA0 are used to align entries: AA1

AA2

The resulting circuit yields an AA3-block-encoding of AA4. The two-qubit gate cost is AA5 CNOTs.

4. Compression Gadgets and LCU-Based Constructions

(a) Compression Gadget

Given AA6, each a AA7-block-encoding of AA8 (acting on a system register), the gadget recursively synthesizes a unitary AA9 implementing a compressed block-encoding of the products UU0. The circuit acts on:

  • UU1,
  • UU2,
  • UU3 ancillas plus the system.

Projecting onto UU4, UU5 encodes UU6. Gate complexity is one query per UU7 and UU8 further gates, mainly for fan-out and multi-controlled operations. This matches the complexity of Lemma 13 of Low–Wiebe with simplified controls.

(b) LCU–Kronecker–Sum Block-Encoding

Given UU9, with (0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,0 and (0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,1 block-encoding (0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,2, (0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,3, first Kronecker gadgets are used per term, then LCU with weights (0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,4. The final block-encoding has parameters

(0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,5

with total gate complexity

(0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,6

5. Ancilla and Gate Complexity Comparison

The following table summarizes the ancilla-qubit and gate overhead costs for block-product gadgets relative to naïve approaches:

Gadget Ancillas (original) Ancillas (gadget) Gate Overhead
Mat–Mat (0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,7 (0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,8 (0aIn)U(0aIn)1αAε,\left\| \left(\langle 0^a| \otimes I_n\right) U \left( |0^a\rangle \otimes I_n \right)- \frac{1}{\alpha} A \right\| \le \varepsilon,9
Kronecker 2n×2n2^n\times2^n0 2n×2n2^n\times2^n1 2n×2n2^n\times2^n2
Hadamard 2n×2n2^n\times2^n3 2n×2n2^n\times2^n4 2n×2n2^n\times2^n5
Compression 2n×2n2^n\times2^n6 2n×2n2^n\times2^n7 2n×2n2^n\times2^n8
LCU–Kronecker–sum 2n×2n2^n\times2^n9 UU0 UU1

“Ancillas (original)” reflects naïve resource use without the gadget; “Ancillas (gadget)” shows the improved count. “Gate Overhead” is the extra circuit cost relative to the original block-encodings themselves.

6. Applications in Quantum Algorithms

Block-product gadgets directly address resource bottlenecks in quantum Hamiltonian simulation, quantum linear algebra, and related algorithmic primitives. The exponential reduction in ancilla utilization enables practical implementation of deep matrix-product chains, time-dependent simulation (Dyson-series), and structured matrix decompositions (e.g., Kronecker sums). The generic interface accommodates rectangular matrices and allows efficient realization of complex block-encodings such as compressed Hamiltonians and sums of products with LCU.

A plausible implication is the improved feasibility and algorithmic scaling for large-scale quantum simulations on near-term and future quantum devices using block-encoded linear algebraic primitives (Dong et al., 19 Sep 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Block-Product Gadget.