Machine learning methods are widely used for prediction, classification, and pattern recognition in applications involving image analysis, audio processing, natural language processing, and generative artificial intelligence (AI). Deep neural networks are commonly used supervised learning models that map multidimensional input vectors, represented as X = (x₁, x₂, x₃, …), to an output variable Y through iterative optimization of weights and biases1. In neural network architectures, the predicted response is computed using:

where wi and b represent learned weights and bias terms, respectively1. Modern architectures, including transformers, encoder–decoder systems, large language models (LLMs), and generative AI systems, follow related principles but differ in the methods used to combine and process information across layers1. Although these approaches have demonstrated high predictive capability, their multilevel optimization structure often limits interpretability and contributes to the “black box” nature of AI systems2,3.
Quantum machine learning has emerged as an alternative computational framework for data analysis and predictive modeling. Variational quantum circuits, also known as parameterized quantum circuits or quantum neural networks, are widely used for supervised learning. Previous work demonstrated the use of variational quantum circuits for retinal condition prediction4. However, optimization of variational circuits is affected by barren plateaus, vanishing gradients, and convergence challenges5,6. These optimization limitations motivate the exploration of alternative quantum computational methods for supervised learning. The present method investigates the use of the Quantum Fourier Transform (QFT) for predictive analysis without iterative parameter optimization.
QFT is a quantum analogue of the discrete Fourier transform and forms the basis of several quantum algorithms, including Shor’s factorization algorithm7. Previous studies demonstrated the application of QFT for sound and note detection using both simulators and quantum hardware8. Fourier transform methods are robust for signal and pattern analysis because they decompose signals into their constituent frequency components. QFT has also demonstrated computational speedup over classical Fourier transform implementations and has shown structural stability in practical implementations9,10,11,12,13. These properties support the investigation of QFT-based methods for predictive analytics and pattern recognition.
The method described here summarizes multidimensional feature relationships using QFT and visualizes the resulting correlations through XY scatterplots. In supervised learning, labeled datasets establish relationships between input features and output variables. Housing price prediction is an example in which property area, number of bedrooms, and number of bathrooms serve as input variables, while house price serves as the dependent variable. In this protocol, QFT is applied to feature vectors without the dependent variable to generate X coordinates and to feature vectors including the dependent variable to generate Y coordinates. The resulting XY relationship is then used to estimate unknown values that follow similar patterns. The overall workflow of the method is illustrated in Figure 1.
Predictive analytics has applications across multiple sectors, including finance, manufacturing, and healthcare14. Financial applications include fraud detection, credit scoring, and investment analysis, whereas manufacturing applications include demand forecasting and equipment maintenance. Healthcare applications include patient risk assessment and treatment planning14. Despite the broad applicability of predictive analytics, limitations such as data quality issues, hidden variables, and dataset bias remain important considerations15. The method presented here is suitable for datasets containing integer and decimal numerical values.
Quantum circuits used in this study were implemented on an online quantum computing platform that supports graphical circuit design, simulation, and execution on superconducting quantum hardware. A four-qubit QFT circuit consisting of Hadamard and controlled phase-shift gates was initially implemented and later reduced to a three-qubit QFT configuration for selected experiments. The graphical editor and the probability distribution panel for computational basis measurements were used to analyze the output states. Tutorials describing QFT circuit construction can be adapted according to experimental requirements16. Representative circuit configurations are shown in Figure 2 and Figure 3, and the complete circuit implementation is shown in Figure 4.
The input data were normalized between zero and one using:

The normalized value was multiplied by π/2 and encoded as the rotation angle of Ry gates. For example, the feature vector (0.449, 0.500, 0.400, 0.083) was encoded as π/2 × 0.449, π/2 × 0.500, π/2 × 0.400, and π/2 × 0.083. This procedure corresponds to angle encoding, in which classical data are mapped to qubit rotation angles17. Previous studies demonstrated that quantum machine learning algorithms frequently encode features into rotational quantum gates and can be mathematically represented as:

where x = [x₁, x₂, …, xN] represents the feature vector encoded into an N-qubit system18,19. Details of the angle encoding procedure are illustrated in Figure 5.
Fourier transform methods decompose signals into sine and cosine components at different frequencies, as illustrated in Figure 6. In classical signal processing, the discrete Fourier transform maps an input vector to a frequency-domain representation according to:

where N represents the number of samples and ω denotes the Fourier basis coefficient16. QFT extends this operation to quantum basis states and can be efficiently implemented using Hadamard and controlled-phase-shift gates. The Fourier basis representation of a qubit state is given by:
where,

and N represents the number of basis states16. Representative QFT circuit implementations are shown in Figure 2 and Figure 3.
Quantum computation measurements produce probability distributions over computational basis states. In this study, probability distributions were evaluated using 1,024 measurement shots in a real device. The probability amplitudes of the output state are represented as:

where ai represents the probability amplitude associated with basis state |i
. The probability distribution panel demonstrated that the computational basis state 0000 consistently contained the dominant amplitude contribution. When all Ry gate values were set to π/2 × 1, the probability of state 0000 approached 100%, whereas probabilities of all other states approached zero (Figure 7). When all Ry gate values were set to zero, the probability distribution became uniform across all states, producing equal probabilities of 100/2ⁿ%, where n is the number of qubits. For a four-qubit QFT system, this resulted in probabilities of 6.25% for each computational basis state (Figure 8).
The probability of computational basis state 0000 for angle encoding of qubit q[0] was empirically observed to follow

where,

indicating that the dominant output probability varies as a function of sin(θ), where θ is the encoded rotation angle. These observations suggest that the computational basis state 0000 contains the primary information required for the predictive relationship used in this method. The probability distributions and representative outputs are illustrated in Figure 6, Figure 7, and Figure 8.
The learning procedure involves applying the QFT to the normalized data via angle encoding and obtaining the corresponding probability for the computational basis state 0000. These results are used to generate a set of (x, y) coordinates that establishes a mapping between the input variables and the output variable. The resulting map is used to derive a trendline equation and determine the range of values around the trendline. For prediction, the x value for a previously unseen set of inputs is computed using the same normalization, angle encoding, and QFT procedure used during learning. The corresponding y-value and its prediction range are then determined using the established trendline equation and its associated range.