Quantum autoencoders using mixed reference states

Hailan Ma, Gary J. Mooney, Ian R. Petersen, Lloyd C. L. Hollenberg, Daoyi Dong

Abstract

One of the fundamental tasks in quantum information theory is quantum data compression, which can be realized via quantum autoencoders that first compress quantum states to low-dimensional ones and then recover to the original ones with a reference state. When taking a pure reference state, there exists an upper bound for the encoding fidelity, which limits the compression of states with high entropy. To overcome the entropy inconsistency, we allow the reference state to be a mixed state and propose a cost function that combines the encoding fidelity and the quantum mutual information. We consider the reference states to be a mixture of maximally mixed states and pure states and propose three strategies for setting the ratio of mixedness. Numerical simulations of different states and experimental implementations on IBM quantum computers illustrate the effectiveness of our approach.

Introduction

Quantum autoencoders (QAEs) are essential tools for quantum data compression, functioning by squeezing high-dimensional quantum states into a smaller "latent" space and subsequently reconstructing the original state. Traditionally, QAEs rely on pure reference states (such as $|0\rangle$) for this reconstruction. However, this approach encounters a fundamental "entropy inconsistency": if the input state is highly mixed (possessing high entropy), a pure reference state lacks the necessary entropy capacity to facilitate a faithful reconstruction. This limitation results in a performance ceiling known as the QAE-pure bound. To compress the complex, high-entropy quantum states found in real-world simulations and networks, a method to bypass this theoretical ceiling is required.

Methodology

This paper proposes a novel two-stage framework to optimize the compression and recovery process by utilizing mixed reference states.

Architecture and Reference States

The proposed QAE consists of a unitary encoder $U_e$ and a unitary decoder $U_d$. The encoder partitions the input state $\rho_0$ into a latent subsystem $\rho_{latent}$ and a "trash" subsystem $\rho_{trash}$. The decoder then attempts to reconstruct the original state by combining the latent state with a tunable mixed reference state $\rho_{ref}$.

Schematic of the quantum autoencoder framework. The encoder $U_e$ maps the input $\rho_0$ to latent and trash states. The decoder $U_d$ uses a mixed reference state $\rho_{ref}$ to reconstruct the output $\rho_f$.

The reference state $\rho_{ref}$ is defined as a blend of a pure state and a maximally mixed state, controlled by a "purity ratio" parameter ($p_r$). To determine the optimal $p_r$, three strategies were developed: Grid search, setting $p_r$ based on the theoretical QAE-pure bound, and an adaptive "Guess" strategy that infers the ratio during training.

Hybrid Cost Function (QAE-qmi)

To optimize the unitary operations, a hybrid cost function was introduced that combines reconstruction fidelity with Quantum Mutual Information (QMI). QMI measures the correlation between the trash and latent qubits; minimizing this ensures the encoder effectively disentangles the two subsystems, which is critical for high-entropy data. The training process utilizes an Evolutionary Strategy (ES)—a black-box optimization algorithm—on classical computers to learn the optimal unitary transformations.

Results

The effectiveness of the mixed-state approach was evaluated using three classes of quantum states: Thermal states (parameterized by inverse temperature $\beta$), Werner states, and Mixed-Pure blends.

Breaking the QAE-pure Bound

Numerical simulations demonstrate that by matching the entropy of the reference state to the discarded information, the mixed-state QAE successfully breaks through the theoretical fidelity limits of standard pure-state autoencoders. As shown in Figure 4, the reconstruction fidelity $\mathcal{F}_d$ remains high even as the entropy of the input state increases (decreasing $\beta$), significantly outperforming the QAE-pure bound.

Reconstruction fidelity $\mathcal{F}_d$ versus inverse temperature $\beta$ for thermal states. The mixed-state approach (solid lines) consistently outperforms the theoretical QAE-pure bound (dashed line), particularly for high-entropy (low $\beta$) states.

Hardware Validation

The protocol was validated on IBM’s 5-qubit ibmq_quito processor. Despite hardware noise, such as CNOT gate errors, the mixed-state QAE consistently outperformed the pure-state theoretical limits on real hardware, proving the robustness of the approach.

Conclusion

The use of mixed reference states resolves the entropy inconsistency inherent in traditional quantum autoencoders. By employing a hybrid cost function and tunable reference states, this method enables high-fidelity compression of complex quantum information. Future research will focus on developing "observable" proxies for the QMI metric to avoid the resource-intensive process of full state tomography and extending the model to account for environmental decoherence in open quantum systems.

Summary updated

BibTeX
@inproceedings{ma2024quantum,
  author = {Hailan Ma and Gary J. Mooney and Ian R. Petersen and Lloyd C. L. Hollenberg and Daoyi Dong},
  title = {{Quantum autoencoders using mixed reference states}},
  booktitle = {Npj},
  year = {2024},
  doi = {10.1038/s41534-024-00872-3},
}
Figure