Skip to content

qnl/qdit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qdit: QNL's qudit tool shed

Qdit is a Python package for working with qudit (d-dimensional quantum) systems. Built on top of Google's Cirq framework, it provides tools for quantum circuit generation, noise modeling, and randomized benchmarking.

Installation

git clone https://github.com/qnl/qdit.git
cd qdit
pip install -e .

Features (with examples linked)

Noise Models (work in progress)

Quick Start

from qdit.benchmarking import QuditBenchmarking
from cirq import Simulator

# Create a 2-qutrit benchmarking instance
rb = QuditBenchmarking(
    num_qudits=2,
    dimension=3,
    sampler=Simulator()
)

# Generate and run benchmark circuits
circuits = rb.generate_benchmark_circuits(
    depths=[5, 10, 15],
    num_circuits=10
)

# Run noisy simulation
results = rb.simulate_benchmarking(
    depths=[5, 10, 15],
    noise_levels=[0.01, 0.05]
)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages