Skip to main content

Quantum computing with intelligence - learn, build, deploy

Project description

quantIQ

Quantum circuits, simplified.

PyPI version Python 3.11+ License: MIT GitHub stars

WebsiteDocumentationExamples


🚀 Quick Start

pip install quantiq
from quantiq import QuantumCircuit

# Create a Bell state (quantum entanglement)
qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
qc.measure_all()

# Run the circuit
result = qc.run(shots=1000)
print(result)

That's it! You just created quantum entanglement.


🎯 What is quantIQ?

quantIQ is a Python library for building quantum circuits with a developer-first approach. No quantum physics PhD required.

  • 🎯 Simple API - Intuitive, Pythonic interface
  • Fast - Optimized quantum circuit simulation
  • 📚 Well Documented - Clear examples and tutorials
  • 🔧 Extensible - Easy to add custom gates
  • 🌐 Open Source - MIT licensed

Perfect for learning, prototyping, and algorithm development.


✨ Features

Comprehensive Gate Library

Single-qubit gates:

  • Pauli gates: x(), y(), z()
  • Hadamard: h()
  • Rotations: rx(), ry(), rz()

Two-qubit gates:

  • cx() - CNOT (controlled-NOT)
  • cz() - Controlled-Z
  • More coming soon!

Method Chaining

qc = QuantumCircuit(3)
qc.h(0).h(1).h(2).cx(0, 1).cx(1, 2).measure_all()

Circuit Information

print(qc)
# Output: QuantumCircuit(3 qubits, 6 gates)

📖 Examples

Bell State

from quantiq import QuantumCircuit

qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
qc.measure_all()

result = qc.run(shots=1000)
# Perfect correlation: ~50% |00⟩ and ~50% |11⟩

GHZ State (3-qubit Entanglement)

from quantiq import QuantumCircuit

qc = QuantumCircuit(3)
qc.h(0)
qc.cx(0, 1)
qc.cx(1, 2)
qc.measure_all()

result = qc.run(shots=1000)
# Result: ~50% |000⟩ and ~50% |111⟩

Superposition

from quantiq import QuantumCircuit

qc = QuantumCircuit(1)
qc.h(0)  # Create superposition
qc.measure_all()

result = qc.run(shots=1000)
# Result: ~50% |0⟩ and ~50% |1⟩

📁 More examples: examples/


🛠️ Installation

Requirements

  • Python 3.11 or higher
  • NumPy

Install from PyPI

pip install quantiq

Install from Source

git clone https://github.com/tony-siqurity-ai/quantiq-web.git
cd quantiq-web
pip install -e .

📚 Documentation

Full documentation is available at docs.quantiq.dev


🗺️ Roadmap

✅ v1.0 (Current)

  • Core quantum gates (H, X, Y, Z, CX)
  • Basic statevector simulation
  • Method chaining API
  • PyPI package

🚧 v1.1 (Next)

  • Circuit visualization
  • More quantum gates (CZ, SWAP, Toffoli)
  • Result analysis tools
  • Performance optimizations

🔮 Future

  • Advanced quantum algorithms
  • Noise simulation
  • GPU-accelerated simulation
  • Cloud API

See our full roadmap


🤝 Contributing

Contributions are welcome! Here's how you can help:

See CONTRIBUTING.md for guidelines.

Development Setup

# Clone the repository
git clone https://github.com/tony-siqurity-ai/quantiq-web.git
cd quantiq-web

# Install in development mode
pip install -e .

# Run tests (if you have them)
python -m pytest tests/

📄 License

quantIQ is released under the MIT License.


🙏 Acknowledgments

Built for the quantum computing community.

Special thanks to early adopters and contributors!


🗺️ Roadmap

See our public roadmap for upcoming features and Cloud API development.

Want to influence what we build? Open a discussion!


⭐ Star us on GitHub if you find quantIQ useful!

Made with ⚛️ by the quantIQ team

Get StartedGitHubPyPI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantiq_dev-1.2.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantiq_dev-1.2.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file quantiq_dev-1.2.0.tar.gz.

File metadata

  • Download URL: quantiq_dev-1.2.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for quantiq_dev-1.2.0.tar.gz
Algorithm Hash digest
SHA256 61cadf7f495f89c9b36d01694e6c337192054e2716927cc0fa75d114a39143bb
MD5 52dd738c81187dba3fd4d33545372cbd
BLAKE2b-256 62b15029671602b3fe4756300a922f2001ebfa0bbf53706ae5260873e7fb756f

See more details on using hashes here.

File details

Details for the file quantiq_dev-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: quantiq_dev-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for quantiq_dev-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a552cd0c6d330c901ce0e54899b58c9b2f718190dcf80ef7c3a2f080bf74aea1
MD5 f92d61210fb08be423bbbe507236aff0
BLAKE2b-256 e22fd006fc8e6f641e43d55c245f6383e1d1cc713167d5dd45a26c7b3ae73e23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page