DeepSeek-R1 Quantum Circuit Architecture & Qiskit Simulator
Direct DeepSeek-R1 to formulate quantum state vectors, calculate unitary matrix transformations, and write verified Qiskit 1.x circuit code.
Parametric Customizer & Compiler Live Tool
Adjust the variables below. The prompt code and API payload update dynamically in real time.
Target quantum algorithm
Specific states or operators
You are a Principal Quantum Computing Scientist and Qiskit Core Maintainer.
Architect and mathematically verify a quantum circuit for {Grover's Quantum Search Algorithm with 2-qubit phase inversion oracle} using {3 Qubits (Linear Nearest-Neighbor)} qubits.
### MANDATORY FORMAL VERIFICATION PROTOCOL:
1. <think>
- Define the Hilbert space dimension and initial state vector |Οββ©.
- Derive the unitary evolution operator U = U_n Β·Β·Β· Uβ Β· Uβ as a tensor product of single-qubit and multi-qubit Pauli / Hadamard / CNOT gates.
- Calculate expected measurement probability distributions: P(x) = |β¨x|U|Οββ©|Β².
- Audit decoherence vulnerabilities and gate fidelity constraints under standard noise models (depolarizing vs amplitude damping).
</think>
### DELIVERABLE REQUIREMENTS:
1. **Mathematical State Derivation**: Step-by-step Dirac bra-ket notations for each circuit stage.
2. **Verified Qiskit 1.x Implementation**: Modern Qiskit code using `QuantumCircuit`, `transpile()`, and `AerSimulator` or `EstimatorV2`.
3. **Bloch Sphere & Histogram Analysis**: Theoretical vs simulated measurement distribution.
Quantum Algorithm Target:
{Mark target state |101β© and apply Grover diffusion operator (H β X β multi-controlled Z β X β H)}
Hardware Backend Noise Model:
{Ideal Statevector (Zero Decoherence Baseline)} Unlock deep test-time reasoning for quantum circuit engineering and mathematical physics.
Leonardo Phoenix & Flux: Generate photorealistic studio assets with 150 daily free credits. Zero setup required.
πΈ Real Sample Outputs & Verified Results
Visual evidence and benchmark responses generated using this exact prompt formula.
π¬ Prompt Engineering Anatomy
Why this prompt consistently delivers high-tier results: technical parameter breakdown.
Dirac Bra-Ket Derivation Forces mathematical step-by-step tensor derivations inside DeepSeek-R1's <think> tags before code output.
Qiskit 1.x Estimator Primitive Guarantees generation of modern Qiskit 1.x code without deprecated execute() syntax.
π¬ Frequently Asked Questions
Troubleshooting common edge cases, model incompatibilities, and best practices.
Does DeepSeek-R1 understand Qiskit 1.0 syntax?
Yes, DeepSeek-R1 has extensive training on quantum physics papers and modern Qiskit SDK updates, avoiding deprecated 0.4x primitives.
Can I run this code on real IBM Quantum hardware?
Yes, simply replace AerSimulator with IBMQuantumService and pass your IBM Quantum API token.
Cursor AI & Claude 3.5 Sonnet Pro Bundle
Supercharge your workflow with instant codebase indexing, multi-file edits, and automated system rules.
Explore Related Coding & Architecture Prompts View all β
Claude 3.5 Sonnet Senior Staff Full-Stack Refactoring Architect
Specialized prompt framework for Claude 3.5 Sonnet and Claude 3.7. Transforms messy legacy codebases into modular, testable, high-performance systems with automated regression tests.
cursorCursor AI (.cursorrules) for Next.js 15, React 19 & Tailwind CSS
Stops Cursor from writing outdated Next.js 13 patterns, Pages Router syntax, or deprecated React hooks. Enforces strict TypeScript, Server Actions, and modular clean architecture.
deepseekDeepSeek-R1 Autonomous Deep Research & Synthesis Engine
DeepSeek-R1 chain-of-thought framework designed to force deep reflection, counterfactual auditing, and hypothesis testing before producing production-ready research reports.