# US 2021/0286603 A1 · Classical artificial intelligence (ai) and probability based code infusion

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286603 A1
- Document ID: US20210286603A1
- Status: Published application
- Kind: A1
- Application number: 16/813,819
- Filed: 2020-03-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Aaron K. Baughman; Gary William Reiss; Qiqing Christine Ouyang; Shikhar Kwatra
- Web page: https://patentgrep.com/patent/US20210286603A1

## CPC

- G06F 8/451: {Code distribution (considering CPU load at run-time G06F9/505; load rebalancing G06F9/5083)}
- G06F 8/52: Binary to binary
- G06F 8/447: {Target code generation}
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0499: Feedforward networks
- G06N 3/065: Analogue means
- G06N 3/08: Learning methods
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 10/60: Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
- G06N 10/80: Quantum programming, e.g. interfaces, languages or software-development kits for creating or handling programs capable of running on quantum computers; Platforms for simulating or accessing quantum computers, e.g. cloud-based quantum computing
- G06N 3/045: Combinations of networks
- G06N 10/40: Physical realisations or architectures of quantum processors or components for manipulating qubits, e.g. qubit coupling or qubit control
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method, a computer system, and a computer program product for parallel conversion is provided. Embodiments of the present invention may include analyzing raw classical code using a code embedded deep learning model. Embodiments of the present invention may include analyzing running classical code using a deep learning model. Embodiments of the present invention may include marking a location of the raw classical code for a first quantum conversion. Embodiments of the present invention may include suggesting a memory size of the running classical code for a second quantum conversion. Embodiments of the present invention may include aggregating the raw classical code for the first quantum conversion. Embodiments of the present invention may include aggregating the running classical code for the second quantum conversion.

## Claims

### Claim 1

A method for parallel conversion, the method comprising:
analyzing raw classical code;
analyzing running classical code;
marking a location of the raw classical code for a first quantum conversion;
suggesting a memory size of the running classical code for a second quantum conversion;
aggregating the raw classical code for the first quantum conversion; and
aggregating the running classical code for the second quantum conversion.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving a user behavior measurement;
receiving the raw classical code;
receiving the running classical code; and
assigning a quantum computer to the parallel conversion based on the received user behavior measurement, the aggregated raw classical code and the aggregated running classical code.

### Claim 3 (depends on 1)

The method of claim 1, wherein the raw classical code is analyzed using a deep learning model with a code embedding.

### Claim 4 (depends on 1)

The method of claim 1, wherein the running classical code is analyzed using a deep learning model.

### Claim 5 (depends on 1)

The method of claim 1, wherein the location of the raw classical code is marked using natural language processing annotations.

### Claim 6 (depends on 2)

The method of claim 2, wherein the user behavior is measured using biometric data received from the user via a sensor.

### Claim 7 (depends on 2)

The method of claim 2, wherein the quantum computer is assigned to a code block based on a quantum resource availability.

### Claim 8

A computer system for parallel conversion, comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage media, and program instructions stored on at least one of the one or more computer-readable tangible storage media for execution by at least one of the one or more processors via at least one of the one or more computer-readable memories, wherein the computer system is capable of performing a method comprising:
analyzing raw classical code;
analyzing running classical code;
marking a location of the raw classical code for a first quantum conversion;
suggesting a memory size of the running classical code for a second quantum conversion;
aggregating the raw classical code for the first quantum conversion; and
aggregating the running classical code for the second quantum conversion.

### Claim 9 (depends on 8)

The computer system of claim 8, further comprising:
receiving a user behavior measurement;
receiving the raw classical code;
receiving the running classical code; and
assigning a quantum computer to the parallel conversion based on the received user behavior measurement, the aggregated raw classical code and the aggregated running classical code.

### Claim 10 (depends on 8)

The computer system of claim 8, wherein the raw classical code is analyzed using a deep learning model with a code embedding.

### Claim 11 (depends on 8)

The computer system of claim 8, wherein the running classical code is analyzed using a deep learning model.

### Claim 12 (depends on 8)

The computer system of claim 8, wherein the location of the raw classical code is marked using natural language processing annotations.

### Claim 13 (depends on 9)

The computer system of claim 9, wherein the user behavior is measured using biometric data received from the user via a sensor.

### Claim 14 (depends on 9)

The computer system of claim 9, wherein the quantum computer is assigned to a code block based on a quantum resource availability.

### Claim 15

A computer program product for parallel conversion, comprising:
one or more computer-readable tangible storage media and program instructions stored on at least one of the one or more computer-readable tangible storage media, the program instructions executable by a processor to cause the processor to perform a method comprising:
analyzing raw classical code;
analyzing running classical code;
marking a location of the raw classical code for a first quantum conversion;
suggesting a memory size of the running classical code for a second quantum conversion;
aggregating the raw classical code for the first quantum conversion; and
aggregating the running classical code for the second quantum conversion.

### Claim 16 (depends on 15)

The computer program product of claim 15, further comprising:
receiving a user behavior measurement;
receiving the raw classical code;
receiving the running classical code; and
assigning a quantum computer to the parallel conversion based on the received user behavior measurement, the aggregated raw classical code and the aggregated running classical code.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the raw classical code is analyzed using a deep learning model with a code embedding.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the running classical code is analyzed using a deep learning model.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the location of the raw classical code is marked using natural language processing annotations.

### Claim 20 (depends on 16)

The computer program product of claim 16, wherein the user behavior is measured using biometric data received from the user via a sensor.
