Enter admin password to continue
Incorrect password.
Done
v0.1.0 — Now on PyPI

Quantum circuits,
pure Python.

CirQit is a professional quantum circuit simulator built on NumPy. Six backends, zero heavy dependencies — from 2-qubit Bell states to 1000-qubit stabilizer circuits.

bell_state.py
from cirqit import QuantumCircuit

# Create Bell state
qc = QuantumCircuit(2, name="bell")
qc.h(0).cnot(0,1).measure_all()

job = qc.run_async(shots=1024)
print(job.job_id)
print(job.result())

► CRQ-20260403-b8399c40
► {'00': 511, '11': 513}
6
Simulation Backends
20+
Quantum Gates
1000+
Max Qubits (Clifford)
4
QEC Code Families
0
Heavy Dependencies
Features

Everything quantum,
nothing extra.

A complete toolkit built from scratch with noise models, variational circuits, error correction, and more.

Statevector Simulator
Custom NumPy backend supporting all 20+ quantum gates. Exact simulation up to ~25 qubits with full statevector access and Bloch sphere visualization.
numpy backend
Clifford Stabilizer
Aaronson-Gottesman tableau algorithm. Simulate 1000+ qubit circuits in milliseconds. 80× faster than statevector for Clifford gate sets.
1000+ qubits
🔊
Noise Models
6 quantum noise channels: Depolarizing, BitFlip, PhaseFlip, AmplitudeDamping, PhaseDamping, ThermalRelaxation. Exact Kraus operators.
6 channels
🧬
VQC + Gradients
Parameterized circuits with parameter-shift rule gradients. Gradient descent and Adam optimizers. Hardware-efficient ansatze built-in.
parameter-shift rule
🛡
Quantum Error Correction
4 QEC families: Repetition, Steane [[7,1,3]], Shor [[9,1,3]], Surface Code (d=3,5,7). Syndrome measurement and decoding included.
4 code families
🔖
Job Tracking System
Every run_async() generates a unique Job ID (CRQ-YYYYMMDD-xxxxxxxx). Background thread execution and session-wide job registry.
async execution
🧮
Tensor Network MPS
Matrix Product State simulator for 50–500 qubits with all gate types. SVD-based truncation with configurable bond dimension χ.
500+ qubits
Circuit Optimizer
6 optimization passes with up to 90% depth reduction. Gate cancellation, rotation merging, peephole replacement.
90% depth reduction
📋
QASM I/O
Full OpenQASM 2.0 import and export. Compatible with IBM Quantum and Qiskit. Load, optimize, and re-export any QASM circuit.
OpenQASM 2.0
Backends

Right tool, right circuit.

Six backends covering every quantum computing regime.

01
Statevector
Exact simulation via unitary matrix operations. Full statevector access.
~25 qubits · All gates · Exact
02
Clifford Stabilizer
Binary tableau algorithm. O(n²) per gate. 80× faster than statevector.
1000+ qubits · Clifford gates · Fast
03
Density Matrix
Mixed state simulation. Exact Kraus noise. Purity, entropy, concurrence.
~15 qubits · All gates · Mixed states
04
Tensor Network MPS
Matrix Product States with configurable bond dimension χ. SVD truncation.
500+ qubits · All gates · Low entanglement
05
VQC
Parameterized circuits with exact parameter-shift gradients. Adam optimizer.
~20 qubits · Param. gates · Optimization
06
QEC Codes
Logical qubit encoding. Steane, Shor, Surface Code. Syndrome circuits.
Any size · Clifford · Fault-tolerant
Install

Ready in one command.

Python 3.8+ · numpy · matplotlib · MIT License

$ pip install cirqit
About

About CirQit

CirQit is an open-source Python library for quantum circuit simulation. It provides researchers, students, and developers with a professional-grade toolkit requiring no heavy external dependencies.

The library implements six distinct simulation backends covering every quantum computing regime — from exact statevector simulation to 1000+ qubit Clifford stabilizer circuits. All algorithms are implemented from scratch using NumPy, with no dependencies on commercial quantum computing platforms.

Privacy Policy: This website does not collect personal information without consent. We use cookies to improve your experience and serve relevant advertisements through Google AdSense. You can manage cookie preferences at any time. Advertising revenue helps support the development of CirQit.

Terms of Use: CirQit is released under the MIT License. You are free to use, modify, and distribute this software for any purpose including commercial use.

Contact: Email us at contact@cirqit.dev or visit pypi.org/project/cirqit for the latest releases.

Blog

Quantum computing articles, tutorials, and CirQit updates.

Getting Started
Core API
Advanced
Algorithms

About CirQit

CirQit is a free, open-source Python library for professional quantum circuit simulation. We believe quantum computing education should be accessible to everyone — from students learning their first qubit to researchers building fault-tolerant algorithms.

Built entirely on NumPy with zero heavy dependencies, CirQit provides six simulation backends, 20+ quantum gates, noise models, variational circuits, quantum error correction codes, and a full job tracking system — all installable with a single pip install cirqit command.

Our Mission

To make quantum computing simulation accessible, educational, and production-ready for the global developer community. This blog publishes original articles, tutorials, and research insights on quantum computing — all freely available.

Privacy Policy

Last updated: April 10, 2026 · Effective: April 10, 2026

Information We Collect: CirQit does not collect personal information such as names, email addresses, or payment details without your explicit consent. We may collect non-personal data such as browser type, pages visited, and time spent on site through standard web analytics.

Cookies: This website uses cookies to improve user experience and serve relevant advertisements. You can accept, reject, or customize cookie preferences using the cookie banner shown on your first visit, or by visiting our cookie settings at any time.

Google AdSense: We use Google AdSense to display advertisements. Google may use the DoubleClick cookie and similar technologies to serve ads based on your interests and prior visits to this and other websites. This is governed by Google's Privacy Policy at policies.google.com/privacy.

Your Rights: You may opt out of personalized advertising at google.com/settings/ads. You may also use browser settings to block cookies entirely.

Data Sharing: We do not sell, trade, or rent your personal information to third parties. Aggregated, anonymized data may be used to improve our services.

Terms of Use

CirQit software is released under the MIT License. You are free to use, modify, and distribute the software for any purpose including commercial use, provided the original license and copyright notice are included.

Blog content on this website is the intellectual property of CirQit. Reproduction of articles in full is not permitted without written permission. Short excerpts with proper attribution and a link back to the original are acceptable.

This website is provided "as is" without any warranties. CirQit is not responsible for any errors or omissions in the content.

Advertising Disclosure

This site participates in Google AdSense, an advertising program that displays relevant advertisements to help fund the free content and open-source development we provide. Advertisements are clearly distinguished from editorial content. We do not endorse advertised products or services. Revenue from advertising supports the ongoing development of CirQit.

Contact Us

Have a question about CirQit, a tutorial suggestion, a bug report, or feedback on our content? We'd love to hear from you.

📧 General Inquiries
contact@cirqit.dev
Questions, feedback, collaborations
🐛 Bug Reports
GitHub Issues
Package bugs, feature requests
📦 PyPI Package
pypi.org/project/cirqit
Releases, changelog, documentation
⚖️ Privacy / Legal
privacy@cirqit.dev
Privacy policy, GDPR, data requests
✉️ Send us a message

We respond to all inquiries within 2 business days. For urgent matters, email us directly at contact@cirqit.dev.

Feature Image
Change
🖼
Click to upload
Top of post
Thumbnail
Change
Blog card image
Post Details
Reading Time
0 words ~1 min read
Quick Insert
px

Insert Link

Dashboard

Real-time
Total Views
0
+0 today
Articles Read
0
+0 today
Active Now
0
right now
Published Posts
0
0 drafts
Views — Last 7 Days ● LIVE
Top Countries
Live Activity ● LIVE
Top Posts
PostViewsReads
All Posts
🔥 Firebase Setup
Blog posts aapke Firebase Firestore mein save honge — koi redeploy nahi chahiye.
Pehli baar? Ye steps follow karo:
  1. console.firebase.google.com → New Project banao
  2. Firestore Database → Create (Test mode)
  3. Project Settings ⚙ → Your apps → Web app → Config copy karo
  4. Neeche paste karo → Save karo