Quantum Machine Learning Applied to the Sinking of the Titanic

Luiz Henrique Prudencio dos Santos, Eliane F. Chinaglia, Jessica Fleury Curado, Marcilei A. Guazzelli, Mariana Pojar, Sueli Hatsumi Masunaga, Roberto Baginski Batista Santos · 2025

Read Quantum Machine Learning Applied to the Sinking of the Titanic by Luiz Henrique Prudencio dos Santos, Eliane F. Chinaglia, Jessica Fleury Curado, Marcilei A. Guazzelli, Mariana Pojar, Sueli Hatsumi Masunaga, Roberto Baginski Batista Santos (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-00916.txt.

Introduction

Luiz Henrique Prudencio dos Santos leads a team of seven authors on quantum machine learning with Titanic data. The task is a classic supervised one: predict passenger survival. They build hybrid quantum-classical variational classifiers. Such models tune quantum circuit parameters with a classical optimizer. Feature maps come in entangling and non-entangling Pauli forms.

The circuits use a RealAmplitudes ansatz with up to fifty parameters. Training uses the COBYLA optimizer on cross-entropy loss. All runs occur in ideal statevector simulation. Models with the non-entangling map beat those with entangling maps. Their metrics saturate beyond fifteen to twenty parameters. Against a classical support vector classifier, performance is similar. The classical model collapses at one training size, though. That failure mode is absent in the quantum models.

Catalog record

CREATORLuiz Henrique Prudencio dos Santos, Eliane F. Chinaglia, Jessica Fleury Curado, Marcilei A. Guazzelli, Mariana Pojar, Sueli Hatsumi Masunaga, Roberto Baginski Batista Santos
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE25 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2509-00916

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Quantum Machine Learning Applied to the Sinking of the Titanic Luiz Henrique Prudencio dos Santos, Eliane F. Chinaglia, Jessica Fleury Curado, Marcilei A. Guazzelli, Mariana Pojar, Sueli Hatsumi Masunaga, Roberto Baginski Batista Santos Abstract This work investigates the performance of hybrid quantum-classical variational classifiers applied to a supervised learning task involving the titanic3 dataset. Quantum models were constructed using Pauli entangling and non-entangling expansion-based feature maps and the RealAmplitudes ansatz with up to 50 50 variational parameters. Model training employed the COBYLA gradient-free optimizer to minimize the cross-entropy loss, within an ideal statevector simulation framework. Comparative performance analysis reveals that the models based on the non-entangling feature map consistently outperformed the models based on the entangling features maps, achieving saturation of classification metrics (accuracy, balanced accuracy, and Youden’s index) beyond 15 15 to 20 20 parameters. Further, two quantum models were benchmarked against a classical Support Vector Classifier (SVC). While both approaches yielded similar predictive performance across multiple training sizes, the classical model exhibited a performance collapse when trained with 90 % 90\% of the dataset, a failure mode absent in the quantum classifiers. These results underscore the robustness and viability of variational quantum classifiers for binary classification tasks on classical datasets in the NISQ era. keywords Quantum Machine Learning, Hybrid Quantum-Classical Algorithms, Supervised Learning 1 Introduction Quantum computing aims to explore some features unique to Quantum Mechanics to solve computational problems. Circa 1970, Wiesner devised the conjugate coding, a class of quantum communication protocols as an example of the restrictions imposed by the uncertainty principle on measurement Wiesner:1983 . Counterfeit-proof quantum money and a protocol for sending two mutually exclusive messages are examples of conjugate coding. Building on these pioneering ideas, Bennett and Brassard presented the so-called BB84 protocol for quantum key distribution Bennett+Brassard:1984 . A few years later, Ekert introduced an entanglement-based quantum key distribution protocol Ekert:1991 . The no-cloning theorem was discovered Park:1970 , and rediscovered a dozen years later Wootters+Zurek:1982 ; Dieks:1982 ; Milonni+Hardies:1982 . Feynman discussed the need for a quantum computer in order to efficiently simulate physical systems Feynman:1982 ; Feynman:1986 , Benioff developed the concept of a Quantum Turing Machine Benioff:1980 ; Benioff:1982a ; Benioff:1982b ; Benioff:1982c , laying the foundations upon which Deutsch built the concept of a Universal Quantum Computer Deutsch:1985 . Soon after that, quantum algorithms as Deutsch’s Deutsch:1985 , Deutsch-Josza Deutsch+Jozsa:1992 , superdense coding Bennett+Wiesner:1992 , Bernstein-Vazirani Bernstein+Vazirani:1993 ; Bernstein+Vazirani:1997 , quantum teleportation Bennett+etal:1993 , Simon’s algorithm Simon:1994 ; Simon:1997 , Shor’s discrete logarithm and prime factorization algorithms Shor:1994 ; Shor:1997 , the Quantum Fourier Transform Coppersmith:1994 , quantum phase estimation Kitaev:1995 , Grover’s search algorithm Grover:1996 ; Grover:1997 , quantum amplitude amplification and estimation BHMT:2002 , and the HHL algorithm to solve linear systems Harrow+Hassidim+Lloyd:2008 indicated that quantum computing could present an advantage over classical computing regarding specific problems. Quantum machine learning (QML) is the branch of quantum computing that attempts to harness the unique characteristics of quantum mechanics to improve machine learning (ML) tasks Aimeur+Brassard+Gambs:2006 ; Lloyd+Mohseni+Rebentrost:2013 ; Wittek:2014 ; Schuld+Sinayskiy+Petruccione:2015 ; Biamonte+etal:2017 ; Dunjko+Briegel:2018 ; Benedetti+etal:2019 ; Havlicek+etal:2019 ; Schuld+Petruccione:2021 ; Cerezo+etal:2021 ; Cerezo+etal:2022 . Typical machine learning tasks are dimensionality reduction, classification, regression, clustering, and density estimation , all of which tries to make predictions generalizing from patterns found in data Deisenroth+Faisal+Ong:2020 ; Schuld+Petruccione:2021 . Machine learning is one of the most rapidly growing fields of the last few decades Sevilla+etal:2022 , and there are expectations on the speed-ups that machine learning could get from exploring quantum resources such as superposition, entanglement, coherence, or nonlocality Dunjko+Briegel:2018 . We will follow the narrow definition of quantum machine learning as “machine learning with quantum computers” Schuld+Petruccione:2021 . In this paper, we will restrict ourselves to the classification problem in supervised machine learning, which may be defined in the following way for classical data. A training data set T=\{(\vec{x}_{0},y_{0}),\cdots,(\vec{x}_{N-1},y_{N-1})\} composed of N instances \vec{x}_{i}\in\mathbb{R}^{D} to which are associated the labels y_{i}\in\{0,1\} is analyzed to predict the label \hat{y}^{\prime} associated with a new instance \vec{x}^{\prime}\in\mathbb{R}^{D} , that is, to classify an instance that was not part of the data set previously analyzed during the training phase of the classifier. It is assumed that there is a correlation between the ideal classification and the classification inferred from the training set. The dimensionality D of an instance \vec{x}=(x_{0},x_{1},\cdots,x_{D-1}) corresponds to the number of features present in the data. In practice, a larger dataset \Omega\subset\mathbb{R}^{D} is splitted in a training set T and a test set T^{\prime} , and the test set instances are used to assess the classifier prediction quality before the classifier model is deployed. A quantum machine learning task with classical data begins with the encoding of the classical data into the registers of a quantum computer. Loading classical data into a quantum computer alone takes linear time, ruling out the possibility of more aggressive speedups Schuld+Petruccione:2021 . There is not consensus on how to encode data into quantum states. Quite generally, an encoding falls into the class of feature maps, in which a nonlinear transform is applied to the data leading to a quantum state |\Phi(\vec{x})\rangle=\mathcal{U}_{\Phi(\vec{x})}|0\rangle Havlicek+etal:2019 ; Schuld+Petruccione:2021 . Less general feature maps such as basis encoding, amplitude encoding, angle encoding, and Pauli expansion circuits are commonly used in the field Havlicek+etal:2019 ; Schuld+Petruccione:2021 . Considerations on the number of qubits, expressiveness of the encoding, circuit depth, noise level of the target quantum device, and the runtime may influence the choice of a specific encoding for a given dataset. Besides encoding data, the model needs to learn some pattern about the data. A variational quantum circuit (VQC), a circuit containing quantum gates that depend on a set \vec{\theta}=\{\theta_{0},\theta_{1},\cdots,\theta_{k}\} of k parameters, may be used to transform the state |\Phi(\vec{x})\rangle into the state |\psi_{\vec{\theta}}(\vec{x})\rangle=\mathcal{U}_{\vec{\theta}}|\Phi(\vec{x})\rangle . Considerations on the number of qubits, gates, connectivity and noise level of the target quantum device, circuit depth, the complexity and dimensionality of the data, the balance between expressivity and trainability, and domain knowledge may guide the choice of the VQC for a particular task. Following the time-honored tradition of the variational method in Quantum Mechanics, the VQC is frequently called an ansatz. In this model, learning occurs while the parameters \vec{\theta} are varied in order to minimize a loss function \ell(\vec{\theta}) with respect to the parameters \vec{\theta} . For present-day noisy intermediate-scale quantum computers (NISQ) Preskill:2018 , this optimization is performed classically. Optimization algorithms may be local or global, gradient-based or gradient-free. Local optimization is computationally efficient, but the solution may be just a sub-optimal local minimum in the parameter landscape, instead of a global minimum. Moreover, the solution found by local optimization may be highly dependent on the initial position of the system in the parameter landscape. In contrast, global optimization tries to ensure that a global minimum is found, but it may be computationally expensive. A gradient-based optimization algorithm uses the gradient of the loss function to iteratively search for the minimum of that function. Although it is possible to estimate or even to analytically determine the gradient of a variational quantum circuit Schuld+etal:2019 , it may be difficult. Gradient-free optimization algorithms avoid the need for this costly gradient evaluation, relying on loss differences \ell(\vec{\theta}_{B})-\ell(\vec{\theta}_{A}) between points in the parameter

Read the complete text