Saved in:
Bibliographic Details
Main Authors: Farias, Renato M. S., Maciel, Thiago O., Camilo, Giancarlo, Lin, Ruge, Ramos-Calderer, Sergi, Aolita, Leandro
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.20408
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913777141678080
author Farias, Renato M. S.
Maciel, Thiago O.
Camilo, Giancarlo
Lin, Ruge
Ramos-Calderer, Sergi
Aolita, Leandro
author_facet Farias, Renato M. S.
Maciel, Thiago O.
Camilo, Giancarlo
Lin, Ruge
Ramos-Calderer, Sergi
Aolita, Leandro
contents We present an exact $n$-qubit computational-basis amplitude encoder of real- or complex-valued data vectors of $d=\binom{n}{k}$ components into a subspace of fixed Hamming weight $k$. This represents a polynomial space compression of degree $k$. The circuit is optimal in that it expresses an arbitrary data vector using only $d-1$ (controlled) Reconfigurable Beam Splitter (RBS) gates and is constructed by an efficient classical algorithm that sequentially generates all bitstrings of weight $k$ and identifies the gates that superpose the corresponding states with the correct amplitudes. An explicit compilation into CNOTs and single-qubit gates is presented, with the total CNOT-gate count of $\mathcal{O}(k\, d)$ provided in analytical form. In addition, we show how to load data in the binary basis by sequentially stacking encoders of different Hamming weights using $\mathcal{O}(d\,\log(d))$ CNOT gates. Moreover, using generalized RBS gates that mix states of different Hamming weights, we extend the construction to efficiently encode arbitrary sparse vectors. Experimentally, we perform a proof-of-principle demonstration of our scheme on a commercial trapped-ion quantum computer. We successfully upload a $q$-Gaussian probability distribution in the non-log-concave regime with $n = 6$ and $k = 2$. We also showcase how the effect of hardware noise can be alleviated by quantum error mitigation. Numerically, we show how our encoder can improve the performance of variational quantum algorithms for problems that include particle-preserving symmetries. Our results constitute a versatile framework for quantum data compression with various potential applications in fields such as quantum chemistry, quantum machine learning, and constrained combinatorial optimizations.
format Preprint
id arxiv_https___arxiv_org_abs_2405_20408
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Quantum encoder for fixed Hamming-weight subspaces
Farias, Renato M. S.
Maciel, Thiago O.
Camilo, Giancarlo
Lin, Ruge
Ramos-Calderer, Sergi
Aolita, Leandro
Quantum Physics
We present an exact $n$-qubit computational-basis amplitude encoder of real- or complex-valued data vectors of $d=\binom{n}{k}$ components into a subspace of fixed Hamming weight $k$. This represents a polynomial space compression of degree $k$. The circuit is optimal in that it expresses an arbitrary data vector using only $d-1$ (controlled) Reconfigurable Beam Splitter (RBS) gates and is constructed by an efficient classical algorithm that sequentially generates all bitstrings of weight $k$ and identifies the gates that superpose the corresponding states with the correct amplitudes. An explicit compilation into CNOTs and single-qubit gates is presented, with the total CNOT-gate count of $\mathcal{O}(k\, d)$ provided in analytical form. In addition, we show how to load data in the binary basis by sequentially stacking encoders of different Hamming weights using $\mathcal{O}(d\,\log(d))$ CNOT gates. Moreover, using generalized RBS gates that mix states of different Hamming weights, we extend the construction to efficiently encode arbitrary sparse vectors. Experimentally, we perform a proof-of-principle demonstration of our scheme on a commercial trapped-ion quantum computer. We successfully upload a $q$-Gaussian probability distribution in the non-log-concave regime with $n = 6$ and $k = 2$. We also showcase how the effect of hardware noise can be alleviated by quantum error mitigation. Numerically, we show how our encoder can improve the performance of variational quantum algorithms for problems that include particle-preserving symmetries. Our results constitute a versatile framework for quantum data compression with various potential applications in fields such as quantum chemistry, quantum machine learning, and constrained combinatorial optimizations.
title Quantum encoder for fixed Hamming-weight subspaces
topic Quantum Physics
url https://arxiv.org/abs/2405.20408