CSAIChaptersEventsBlog
Join CSA, RSAC, and UNLV for a one-day summit in Las Vegas exploring how AI is reshaping enterprise cybersecurity →

Quantum Computing & AI: When AI Starts Writing Quantum Code

Published 07/10/2026

Quantum Computing & AI: When AI Starts Writing Quantum Code

We often discuss quantum computing and artificial intelligence as separate revolutions. One promises to change what is computationally possible. The other is already changing how organizations build software, analyze data, and automate decisions. But the more interesting question may be what happens when these two emerging technologies start helping each other advance.

CSA’s recent Quantum Computing & Artificial Intelligence publication describes this future as Quantum Artificial Intelligence (QAI). QAI is the point where we are able to harness both technologies, allowing them to function at their full potential. For security teams, one of the most practical near-term QAI questions is: What happens when we start using AI to build quantum software?

Quantum software is not easy to create. Designing quantum computer algorithms requires immense intelligence and understanding of quantum theory, which is a difficult subject. At the same time, the industry faces a lack of programmers trained on quantum theory, which limits progress.

AI coding assistants appear to offer a tempting shortcut. They have already accelerated classical software development. They may be able to assist with the development of quantum computing software and algorithms.

Some tools already aim to convert traditional coding languages into quantum code that can run on a quantum computer. Add AI to that workflow, and quantum code may become easier for human programmers to code, review, and understand.

The risk is that faster code generation can also mean faster mistake generation.

 

AI-Generated Quantum Code Needs Guardrails

In classical software development, AI-assisted coding can introduce security issues if teams accept generated output without proper review. In quantum computing, the stakes may be even higher. The field is specialized, the talent pool is smaller, and mistakes may be harder for non-experts to spot.

Utilize proper guardrails within AI models to prevent malicious coding—intentionally or unintentionally—by the AI model. AI-generated risk is not always the result of a malicious actor. A model can produce unsafe or incorrect code simply because it misunderstood the prompt or filled in a gap with plausible-looking output.

This is especially important when quantum software touches cryptography. AI guardrails are necessary if you are utilizing AI for cryptographic programming. Cryptographic code has always demanded caution, but quantum computing adds another layer of complexity. Quantum computers may eventually solve factoring problems exponentially faster than conventional computers and, as a result, threaten the public key cryptography currently used.

In other words, AI may help write code for systems that are part of the next generation of cryptographic defense. At the same time, quantum computing may also threaten parts of today’s cryptographic foundation.

 

The Human Review Layer Cannot Disappear

There needs to be human review at all steps during code development, testing, and release to ensure the code is secure prior to and after its use.

For IT and security professionals, that is the same lesson organizations are learning with generative AI today. AI can assist, accelerate, and augment, but it should not become an invisible change agent inside critical systems.

For quantum software, do not treat human review as a final rubber stamp. Build it into the workflow by reviewing the intent of the code, the assumptions behind the algorithm, and the quality of the generated output.

The “after its use” portion is especially important. AI-generated quantum code may pass initial tests but still require ongoing monitoring as models, libraries, hardware capabilities, and threat assumptions change.

This also implies that organizations will need reviewers with overlapping skills. In traditional software development, security teams already struggle with vulnerabilities introduced through open source dependencies and AI-generated code suggestions. Quantum software may amplify these concerns because there are relatively few experts capable of reviewing the output. An AI-generated quantum algorithm might appear correct to a general software engineer while containing subtle errors that affect performance, reliability, or security.

A traditional application security reviewer may not understand the quantum theory behind a proposed algorithm. A quantum researcher may not know how to think like an attacker. A machine learning engineer may understand the AI assistant but not the cryptographic impact of the generated code.

As organizations begin experimenting with quantum development, governance processes will need to evolve alongside the technology.

 

Quantum Machine Learning Raises the Same Governance Questions

Quantum machine learning approaches include Quantum Support Vector Machine (QSVM), QPCA, Q-KNN, and Quantum Neural Networks (QNNs). These techniques are part of a broader research area where quantum computing could enhance AI model prediction, optimization, pattern recognition, and training speed.

While this is exciting, it should also sound a governance alarm. If quantum machine learning improves the speed or scale of AI development, organizations will need stronger processes for data quality, model testing, explainability, and security validation.

The basis of AI is clean data. Quantum computers may one day help clean data more effectively and with greater speed. However, faster data preparation does not eliminate the need to know where the data came from, whether it is appropriate to use, and whether it introduces risk.

The same applies to AI models running directly on quantum computers. We may see a future where QAI could significantly shorten the learning and processing steps by an order of magnitude we haven’t seen before. AI may be able to execute actions at a pace humans cannot keep up with. For security teams, that means designing governance before the acceleration arrives, not after.

 

From Research Labs to Enterprise Applications

Much of the discussion around quantum computing and AI still feels theoretical. Researchers are currently exploring many of the most promising use cases, rather than those in production environments.

However, the path from research breakthrough to enterprise adoption is often shorter than expected. Just a few years ago, we largely viewed generative AI as an emerging technology. Today, we have embedded it in business workflows, development pipelines, customer service platforms, and security operations centers.

Quantum-enhanced AI may follow a similar trajectory. The combination of quantum computing and AI could create practical value in many areas.

One example is molecular chemical design and drug discovery. Researchers often need to evaluate quadrillions of possible molecular structures to identify promising candidates. They are already employing AI to eliminate less optimal options. Quantum simulation algorithms may help converge on the most useful candidates more efficiently.

Financial services may also benefit from quantum machine learning techniques. Many financial models rely on processing massive datasets and identifying subtle patterns. As quantum computing matures, orgs may be able to analyze larger and more complex datasets than is currently practical.

Another compelling application is infrastructure optimization. Training modern large language models requires enormous computational resources and energy consumption. Current research into quantum computing-based optimization frameworks could reduce the energy demands associated with AI workloads in large data centers. As organizations continue to expand their use of AI, improving efficiency and reducing operational costs will become increasingly important business objectives.

While these applications remain in various stages of development, they illustrate that academic research is not the only future for QAI. The organizations that begin understanding these technologies today will be better positioned to evaluate new opportunities as they emerge. Wherever the first major breakthrough occurs, the convergence of quantum computing and AI has the potential to reshape how enterprises solve some of their most complex problems.

 

Preparing for QAI Without Overhyping It

All that being said, there are still major hurdles before quantum computing and AI fully integrate. Qubit noise, quantum errors, lack of definitive benchmarks, cost uncertainty, and the need for more practical computational frameworks all stand in the way. Additionally, quantum computers may initially have a restricted number of qubits and may not be able to process the quantity of data AI requires.

QAI is not something most enterprises will operationalize tomorrow morning. But the security decisions they are making now around AI coding assistants, cryptographic agility, software review, and data governance will shape how prepared organizations are when the technology matures.

A practical starting point is to treat AI-assisted quantum development as a high-assurance software activity. Require technical guardrails in the AI model. Train users who rely on AI to create quantum code. Maintain human review throughout development, testing, release, and post-release monitoring.

The promise of quantum computing and AI is not just that they will be powerful individually. Together, they have the potential to help each other reach those goals faster. That acceleration could unlock major advances in science, engineering, cybersecurity, and data processing. But acceleration without assurance is just risk moving at machine speed.

The organizations that benefit most from QAI will likely be the ones that prepare for both sides of the equation. They will prepare for both the opportunity to solve harder problems and the responsibility to secure the systems that make those solutions possible.

 

Learn More About Quantum Artificial IntelligenceCover of Quantum Computing & Artificial Intelligence: Harnessing the Synergy of Two Emerging Technologies

The convergence of quantum computing and AI is still in its early stages, but the pace of innovation is accelerating. From quantum machine learning and Quantum Neural Networks (QNNs) to AI-assisted quantum algorithm development and error correction, researchers are exploring ways these technologies can amplify each other's strengths while addressing some of their biggest challenges.

This article only scratches the surface. The full CSA paper, Quantum Computing & Artificial Intelligence: Harnessing the Synergy of Two Emerging Technologies, explores the foundations of quantum computing, the evolution of AI, the emerging field of QAI, and the practical opportunities and risks organizations should be monitoring today.

If you're interested in how quantum computing could transform AI training, how AI may help solve quantum computing's scalability challenges, or what security guardrails these maturing technologies will require, check out the full paper and dive deeper into the research.

As quantum computing and AI continue their march toward a shared future, understanding the opportunities, as well as the security implications, will be essential for technology and security leaders alike.

Share this content on your favorite social network today!

Unlock Cloud Security Insights

Unlock Cloud Security Insights

Choose the CSA newsletters that match your interests:

Subscribe to our newsletter for the latest expert trends and updates