用于随机森林预测的量子电路
Quantum Circuit for Random Forest Prediction
AI总结:
本文针对随机森林二分类预测设计并基于 qiskit 实现量子电路,通过采用单量子比特门与 CNOT 门的构造,将 CNOT 门数量由普通分解的 O(4^{|X|+n+h+2}) 降至 O(2^{n+2h+1})。
摘要:
在这项工作中,我们提出了一种用于基于随机森林模型的二分类预测算法的量子电路。该量子预测算法已在我们先前的工作中提出。我们构建了一个电路,并使用 qiskit 工具(用于量子编程的 Python 模块)加以实现。我们的目标之一是减少基本量子门(初等门)的数量。本文使用的基本量子门集合由单量子比特门和受控非门组成。当普通电路分解技术产生 O(4^{|X|+n+h+2}) 个 CNOT 门时,我们电路中 CNOT 门的数量估计为 O(2^{n+2h+1}),其中 n 是随机森林模型中树的数量,h 是树高,|X| 是输入对象 X 的属性长度。预测过程返回输入 X 对应类别的索引。
英文摘要:
In this work, we present a quantum circuit for a binary classification prediction algorithm using a random forest model. The quantum prediction algorithm is presented in our previous works. We construct a circuit and implement it using qiskit tools (python module for quantum programming). One of our goals is reducing the number of basic quantum gates (elementary gates). The set of basic quantum gates which we use in this work consists of single-qubit gates and a controlled NOT gate. The number of CNOT gates in our circuit is estimated by $O(2^{n+2h+1})$ , when trivial circuit decomposition techniques give $O(4^{|X|+n+h+2})$ CNOT gates, where $n$ is the number of trees in a random forest model, $h$ is a tree height and $|X|$ is the length of attributes of an input object $X$. The prediction process returns an index of the corresponding class for the input $X$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。