IP Library Granted Patent US 12,619,902
Granted Patent B2
US 12,619,902 · App. 18/425,729 · Granted May 5, 2026

System and method for identifying and rectifying application program interface errors using quantum computing

Inventors: Kalyan Chakravarthy Pallapolu (Hyderabad, IN); Gondi Mahesh (Hyderabad, IN); Gali Mohan Sreenivas (Tirupati, IN)
Assignee: Bank of America Corporation
G06N10/70G06F11/36G06N10/60H04L67/02
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,619,902
App. No.
18/425,729
Granted
May 5, 2026
Kind
B2
Abstract

A method includes analyzing codes of a plurality of applications. Errors in the codes of the plurality of applications are identified based on a plurality of rules. An initial quantum state is generated and one or more iterations are performed on the initial quantum state to determine a final quantum state. Performing an iteration of the one or more iterations includes applying an oracle operator and a diffusion operator to the current quantum state. Based on the final quantum state, one or more APIs of the plurality of applications that correspond to the errors are determined. A first application corresponding to a first API of the one or more APIs is identified. A first code fix for a first code of the first application is determined. The first code fix is applied to the first code of the first application to determine a first fixed code of the first application.

Claims (110)

1 . A system comprising:

a memory configured to store:

a quantum search algorithm; and

a plurality of rules, wherein the plurality of rules are used to identify application programming interface (API) errors;

a classical processor communicatively coupled to the memory, wherein the classical processor is configured to:

analyze codes of a plurality of applications, wherein the plurality of applications are configured to be deployed to a plurality of computing systems;

identify first errors in the codes of the plurality of applications based on the plurality of rules;

receive, from a quantum processor, one or more APIs of the plurality of applications that correspond to the first errors;

identify a first application of the plurality of application corresponding to a first API of the one or more APIs, wherein the first application is configured to be deployed to a first computing system of the plurality of computing systems;

determine a first code fix for a first code of the first application; and

apply the first code fix to the first code of the first application to determine a first fixed code of the first application; and

the quantum processor communicatively coupled to the memory, wherein the quantum processor, when implementing the quantum search algorithm, is configured to:

initialize a first plurality of qubits;

generate a first initial quantum state based on the first plurality of qubits;

perform one or more first iterations on the first initial quantum state to determine a first final quantum state, wherein performing an iteration of the one or more first iterations comprises:

applying a first oracle operator to a first current quantum state; and

applying a first diffusion operator to the first current quantum state; and

determine, based on the first final quantum state, the one or more APIs of the plurality of applications that correspond to the first errors.

2 . The system of claim 1 , wherein the classical processor is further configured to:

deploy the first fixed code of the first application to a test computing system;

analyze the first application;

determine whether first run-time errors are identified for the first application; and

in response to determining that no first run-time errors are identified, deploy the first fixed code of the first application to the first computing system.

3 . The system of claim 2 , wherein:

the classical processor is further configured to, in response to determining that the first run-time errors are identified:

receive, from the quantum processor, one or more APIs of the first application that correspond to the first run-time errors;

determine a second code fix for the first fixed code of the first application; and

apply the second code fix to the first fixed code of the first application to determine a second fixed code of the first application; and

the quantum processor is further configured to, in response to determining that the first run-time errors are identified:

initialize a second plurality of qubits;

generate a second initial quantum state based on the second plurality of qubits;

perform one or more second iterations on the second initial quantum state to determine a second final quantum state, wherein performing an iteration of the one or more second iterations comprises:

applying a second oracle operator to a second current quantum state; and

applying a second diffusion operator to the second current quantum state; and

determine, based on the second final quantum state, the one or more APIs of the first application that correspond to the first run-time errors.

4 . The system of claim 3 , wherein the classical processor is further configured to:

deploy the second fixed code of the first application to the test computing system;

analyze the first application;

determine whether second run-time errors are identified for the first application; and

in response to determining that no second run-time errors are identified, deploy the second fixed code of the first application to the first computing system.

5 . The system of claim 1 , wherein the first oracle operator comprises a Pauli X gate.

6 . The system of claim 1 , wherein generating the first initial quantum state based on the first plurality of qubits comprises applying a Hadamard operator to the first plurality of qubits.

7 . The system of claim 1 , wherein determining, based on the first final quantum state, the one or more APIs of the plurality of applications that correspond to the first errors comprises measuring the first final quantum state.

8 . A method comprising:

analyzing codes of a plurality of applications, wherein the plurality of applications are configured to be deployed to a plurality of computing systems;

identifying first errors in the codes of the plurality of applications based on a plurality of rules, wherein the plurality of rules are used to identify application programming interface (API) errors in the codes of the plurality of applications;

initializing a first plurality of qubits;

generating a first initial quantum state based on the first plurality of qubits;

performing one or more first iterations on the first initial quantum state to determine a first final quantum state, wherein performing an iteration of the one or more first iteration comprises:

applying a first oracle operator to a first current quantum state; and

applying a first diffusion operator to the first current quantum state;

determining, based on the first final quantum state, one or more APIs of the plurality of applications that correspond to the first errors;

identifying a first application of the plurality of applications corresponding to a first API of the one or more APIs, wherein the first application is configured to be deployed to a first computing system of the plurality of computing systems;

determining a first code fix for a first code of the first application; and

applying the first code fix to the first code of the first application to determine a first fixed code of the first application.

9 . The method of claim 8 , further comprising:

deploying the first fixed code of the first application to a test computing system;

analyzing the first application;

determining whether first run-time errors are identified for the first application; and

in response to determining that no first run-time errors are identified, deploying the first fixed code of the first application to the first computing system.

10 . The method of claim 9 , further comprising, in response to determining that the first run-time errors are identified:

initializing a second plurality of qubits;

generating a second initial quantum state based on the second plurality of qubits;

performing one or more second iterations on the second initial quantum state to determine a second final quantum state, wherein performing an iteration of the one or more second iterations comprises:

applying a second oracle operator to a second current quantum state; and

applying a second diffusion operator to the second current quantum state;

determining, based on the second final quantum state, the one or more APIs of the first application that correspond to the first run-time errors;

determining a second code fix for the first fixed code of the first application; and

applying the second code fix to the first fixed code of the first application to determine a second fixed code of the first application.

11 . The method of claim 10 , further comprising:

deploying the second fixed code of the first application to the test computing system;

analyzing the first application;

determining whether second run-time errors are identified for the first application; and

in response to determining that no second run-time errors are identified, deploying the second fixed code of the first application to the first computing system.

12 . The method of claim 8 , wherein the first oracle operator comprises a Pauli X gate.

13 . The method of claim 8 , wherein generating the first initial quantum state based on the first plurality of qubits comprises applying a Hadamard operator to the first plurality of qubits.

14 . The method of claim 8 , wherein determining, based on the first final quantum state, the one or more APIs of the plurality of applications that correspond to the first errors comprises measuring the first final quantum state.

15 . A non-transitory computer-readable medium storing instructions that, when executed by at least one of a classical processor or a quantum processor, cause the at least one of the classical processor or the quantum processor to:

analyze codes of a plurality of applications, wherein the plurality of applications are configured to be deployed to a plurality of computing systems;

identify first errors in the codes of the plurality of applications based on a plurality of rules, wherein the plurality of rules are used to identify application programming interface (API) errors in the codes of the plurality of applications;

initialize a first plurality of qubits;

generate a first initial quantum state based on the first plurality of qubits;

perform one or more first iterations on the first initial quantum state to determine a first final quantum state, wherein performing an iteration of the one or more first iterations comprises:

applying a first oracle operator to a first current quantum state; and

applying a first diffusion operator to the first current quantum state;

determine, based on the first final quantum state, one or more APIs of the plurality of applications that correspond to the first errors;

identify a first application of the plurality of applications corresponding to a first API of the one or more APIs, wherein the first application is configured to be deployed to a first computing system of the plurality of computing systems;

determine a first code fix for a first code of the first application; and

apply the first code fix to the first code of the first application to determine a first fixed code of the first application.

16 . The non-transitory computer-readable medium of claim 15 , wherein the instructions, when executed by the at least one of the classical processor or the quantum processor, further cause the at least one of the classical processor or the quantum processor to:

deploy the first fixed code of the first application to a test computing system;

analyze the first application;

determine whether first run-time errors are identified for the first application; and

in response to determining that no first run-time errors are identified, deploy the first fixed code of the first application to the first computing system.

17 . The non-transitory computer-readable medium of claim 16 , wherein the instructions, when executed by the at least one of the classical processor or the quantum processor, further cause the at least one of the classical processor or the quantum processor to, in response to determining that the first run-time errors are identified:

initialize a second plurality of qubits;

generate a second initial quantum state based on the second plurality of qubits;

perform one or more second iterations on the second initial quantum state to determine a second final quantum state, wherein performing an iteration of the one or more second iterations comprises:

applying a second oracle operator to a second current quantum state; and

applying a second diffusion operator to the second current quantum state;

determine, based on the second final quantum state, the one or more APIs of the first application that correspond to the first run-time errors;

determine a second code fix for the first fixed code of the first application; and

apply the second code fix to the first fixed code of the first application to determine a second fixed code of the first application.

18 . The non-transitory computer-readable medium of claim 17 , wherein the instructions, when executed by the at least one of the classical processor or the quantum processor, further cause the at least one of the classical processor or the quantum processor to:

deploy the second fixed code of the first application to the test computing system;

analyze the first application;

determine whether second run-time errors are identified for the first application; and

in response to determining that no second run-time errors are identified, deploy the second fixed code of the first application to the first computing system.

19 . The non-transitory computer-readable medium of claim 15 , wherein the first oracle operator comprises a Pauli X gate.

20 . The non-transitory computer-readable medium of claim 15 , wherein generating the first initial quantum state based on the first plurality of qubits comprises applying a Hadamard operator to the first plurality of qubits.

Assignments (2)
CORRECTIVE ASSIGNMENT TO CORRECT THE FIRST INVENTOR NAME PREVIOUSLY RECORDED AT REEL: 66314 FRAME: 0001. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT . Recorded Aug 21, 2025
From: SREENIVAS, GALI MOHAN; MAHESH, GONDI; PALLAPOLU, KALYAN CHAKRAVARTHY
To: BANK OF AMERICA CORPORATION
Reel/Frame 072507/0270 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 31, 2024
From: SREENIVAS, GAIL MOHAN; MAHESH, GONDI; PALLAPOLU, KALYAN CHAKRAVARTHY
To: BANK OF AMERICA CORPORATION
Reel/Frame 066314/0001 →
Continuity (1)
Related Publication 20250245544A1 · Jul 31, 2025
References Cited (22)
US 7583587B2 · Qiu et al. · 2009 [cited by applicant]
US 8869103B2 · Conrad et al. · 2014 [cited by applicant]
US 9143530B2 · Qureshi et al. · 2015 [cited by applicant]
US 9699205B2 · Muddu et al. · 2017 [cited by applicant]
US 9734169B2 · Redlich et al. · 2017 [cited by applicant]
US 10332023B2 · Mezzacapo et al. · 2019 [cited by applicant]
US 10541765B1 · O'Shea et al. · 2020 [cited by applicant]
US 10713582B2 · Dadashikelayeh · 2020 [cited by applicant]
US 11151526B2 · Haldenby et al. · 2021 [cited by applicant]
US 11562278B2 · Ma et al. · 2023 [cited by applicant]
US 11699002B2 · Haener et al. · 2023 [cited by applicant]
US 20170214701A1 · Hasan · 2017 [cited by applicant]
US 20190384762A1 · Hill et al. · 2019 [cited by applicant]
US 20210295169A1 · Sikka et al. · 2021 [cited by applicant]
US 20210342730A1 · Redmond et al. · 2021 [cited by applicant]
US 20240419575A1 · Hawker · 2024 [cited by examiner]
US 20250045148A1 · Acharya · 2025 [cited by examiner]
CN 112214399A · 2021 [cited by examiner]
EP 3469524B1 · 2023 [cited by applicant]
WO 2022053732A1 · 2022 [cited by applicant]
Panagiotis Botsinis et al, “Quantum Error Correction Protects Quantum Search Algorithm Against Decoherence”, Scientific Reports (Year: 2016). [cited by examiner]
En-Jui Kuo et al. (“Quantum Architecture Search via Deep Reinforcement Learning”, aeXiv (Year: 2021). [cited by examiner]