Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit b5a4f3a

Browse files
FermiousFermious
authored andcommitted
Add quantum computing playground
- Interactive circuit playground with sample circuits - Multiple export formats and visualization - Production mode compatibility
1 parent d487d12 commit b5a4f3a

File tree

16 files changed

+9660
-0
lines changed

16 files changed

+9660
-0
lines changed

_layouts/qc-playground.html

Lines changed: 599 additions & 0 deletions
Large diffs are not rendered by default.

_tabs/qc-playground.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: qc-playground
3+
icon: fas fa-microchip
4+
order: 4
5+
title: QC Playground
6+
---
7+
8+
# Quantum Circuit Playground
9+
10+
Interactive quantum circuit simulator powered by [Q.js](https://quantumjavascript.app). Build, visualize, and experiment with quantum circuits directly in your browser.
11+
12+
## Features
13+
14+
- **Text-based circuit editor** - Write quantum circuits using Q.js's intuitive syntax
15+
- **Visual circuit diagrams** - See your circuits rendered as interactive diagrams
16+
- **Probability analysis** - View measurement outcomes and quantum state probabilities
17+
- **Export options** - Generate ASCII diagrams, LaTeX code, and plain text representations
18+
- **Sample circuits** - Learn from pre-built examples including Bell states and quantum algorithms
19+
20+
## Getting Started
21+
22+
1. Type or paste your quantum circuit in the text area below
23+
2. Click "Apply" to render the circuit and see results
24+
3. Experiment with the sample circuits provided
25+
4. Export your circuits for use in documentation or presentations
26+
27+
Start with something simple like a Bell state:
28+
```
29+
H-X#0
30+
I-X#1
31+
```
32+
33+
Or try the loaded example circuit to see how entanglement works!

0 commit comments

Comments
 (0)