用于多元时间序列预测的量子循环神经网络的密度矩阵模拟
Density Matrix Emulation of Quantum Recurrent Neural Networks for Multivariate Time Series Prediction
AI总结:
本文提出一种基于密度矩阵形式体系的量子循环神经网络模拟方法,解决中途测量限制,推导解析梯度与Hessian矩阵,并在多数据集上验证其能准确捕获复杂模式并预测时间序列。
摘要:
量子循环神经网络(QRNNs)是建模和预测多元时间序列未来值的强有力候选者。然而,一些QRNN模型的有效实现受限于对电路中途测量的需求。这些需求增加了对量子硬件的要求,在当前的NISQ时代,这无法实现可靠的计算。模拟作为探索QRNNs潜力的主要近期替代方案应运而生,但现有的量子模拟器并不专用于具有多次中间测量的电路。在此背景下,我们设计了一种基于密度矩阵形式体系的特定模拟方法。使用紧凑的张量表示法,我们提供了所涉及的算子和表示的数学公式。这使我们能够展示时间序列的当前和过去信息如何通过电路传输,以及如何降低模拟网络在每个时间步的计算成本。此外,我们推导了网络输出相对于其可训练参数的解析梯度和Hessian矩阵,当输出由于硬件误差和有限数量的电路采样(采样)而具有随机噪声时,这些是必需的。最后,我们使用硬件高效的拟设和四个不同的数据集(包括单变量和多变量时间序列,有采样噪声和无采样噪声)测试了所提出的方法。此外,我们将该模型与其他现有的量子和经典方法进行了比较。我们的结果表明,QRNNs可以通过数值梯度和解析梯度进行训练,通过捕获具有不同复杂度的输入序列的非平凡模式,对未来值做出准确预测。
英文摘要:
Quantum Recurrent Neural Networks (QRNNs) are robust candidates for modelling and predicting future values in multivariate time series. However, the effective implementation of some QRNN models is limited by the need for mid-circuit measurements. Those increase the requirements for quantum hardware, which in the current NISQ era does not allow reliable computations. Emulation arises as the main near-term alternative to explore the potential of QRNNs, but existing quantum emulators are not dedicated to circuits with multiple intermediate measurements. In this context, we design a specific emulation method that relies on density matrix formalism. Using a compact tensor notation, we provide the mathematical formulation of the operator-sum representation involved. This allows us to show how the present and past information from a time series is transmitted through the circuit, and how to reduce the computational cost in every time step of the emulated network. In addition, we derive the analytical gradient and the Hessian of the network outputs with respect to its trainable parameters, which are needed when the outputs have stochastic noise due to hardware errors and a finite number of circuit shots (sampling). We finally test the presented methods using a hardware-efficient ansatz and four diverse datasets that include univariate and multivariate time series, with and without sampling noise. In addition, we compare the model with other existing quantum and classical approaches. Our results show how QRNNs can be trained with numerical and analytical gradients to make accurate predictions of future values by capturing non-trivial patterns of input series with different complexities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。