An open API service indexing awesome lists of open source software.

https://github.com/strilanc/qubery

Controlling a simulated quantum computer with visually tracked origami checkerboard cubes.
https://github.com/strilanc/qubery

Last synced: 12 months ago
JSON representation

Controlling a simulated quantum computer with visually tracked origami checkerboard cubes.

Awesome Lists containing this project

README

          

Qubery
======

Controlling a simulated quantum computer with visually tracked origami cubes.

Notes
=====

**Arrow Values**

Arrow direction determines phase, normalization determines magnitude
· = 0
→ ∥ 1
↗ ∥ 1+i
↑ ∥ +i
↖ ∥ -1+i
← ∥ -1
↙ ∥ -1-i
↓ ∥ -i
↘ ∥ +1-i

**Turn Gates**

┌ ┐ ┌ ┐ ┌ ┐
↑⃞ = │ ↗ ↘ │ X⃞ = │ · → │ ↓⃞ = │ ↘ ↗ │
│ ↘ ↗ │ │ → · │ │ ↗ ↘ │
└ ┘ └ ┘ └ ┘

┌ ┐ ┌ ┐ ┌ ┐
→⃞ = │ ↗ ↙ │ Y⃞ = │ · ↓ │ ←⃞ = │ ↘ ↘ │
│ ↗ ↗ │ │ ↑ · │ │ ↖ ↘ │
└ ┘ └ ┘ └ ┘

┌ ┐ ┌ ┐ ┌ ┐
↺⃞ = │ → · │ Z⃞ = │ → · │ ↻⃞ = │ → · │
│ · ↑ │ │ · ← │ │ · ↓ │
└ ┘ └ ┘ └ ┘

**Quordination Circuits**

Entangler

```
─↓⃞──↺⃞──┬─
───────X⃞─

┌ ┐
│ ↗ ↘ · · │
│ · · ↗ ↖ │
│ · · ↗ ↘ │
│ ↗ ↖ · · │
└ ┘
```

Top Row

```
─X⃞────
─┴──↓⃞─

┌ ┐
│ ↗ · · ↘ │
│ · ↗ ↘ · │
│ ↘ · · ↗ │
│ · ↘ ↗ · │
└ ┘
```

Middle Row

```
─↓⃞──┬──→⃞─
────X⃞────

┌ ┐
│ ↑ → ← ↓ │
│ ↑ → → ↑ │
│ ← ↓ ↑ → │
│ → ↑ ↑ → │
└ ┘
```

Bottom Row

```
────┬──↑⃞─
─←⃞──Y⃞────

┌ ┐
│ ↓ ↑ ↓ ↓ │
│ → → → ← │
│ ↑ ↑ ↓ ↑ │
│ ← → → → │
└ ┘
```

Left Column

```
─↓⃞──X⃞────
────┴──↓⃞─

┌ ┐
│ ↑ → ↓ → │
│ → ↑ → ↓ │
│ → ↓ → ↑ │
│ ↓ → ↑ → │
└ ┘
```

Middle Column

```
─X⃞──┬──←⃞─
────X⃞────

┌ ┐
│ · ↘ ↘ · │
│ · ↖ ↘ · │
│ ↘ · · ↘ │
│ ↘ · · ↖ │
└ ┘
```

Right Column

```
────Y⃞────
─↑⃞──┴──←⃞─

┌ ┐
│ ↓ ↓ → ← │
│ ↑ ↓ → → │
│ ↑ ↓ ← ← │
│ ↑ ↑ → ← │
└ ┘
```

**Win Patterns**

```
Win: ■
Lose: □
Row moves: [none] [mid + right] [left + right] [left + mid]
Col moves: [none]
[mid + bot]
[top + bot]
[top + mid]

│ Left Col │ Mid Col │ Right Col │
────────┼───────────┼───────────┼───────────┤
│ □ □ ■ ■ │ □ ■ □ ■ │ □ ■ ■ □ │
Top Row │ □ □ ■ ■ │ □ ■ □ ■ │ □ ■ ■ □ │
│ ■ ■ □ □ │ ■ □ ■ □ │ ■ □ □ ■ │
│ ■ ■ □ □ │ ■ □ ■ □ │ ■ □ □ ■ │
────────┼───────────┼───────────┼───────────┤
│ □ □ ■ ■ │ □ ■ □ ■ │ □ ■ ■ □ │
Mid Row │ ■ ■ □ □ │ ■ □ ■ □ │ ■ □ □ ■ │
│ □ □ ■ ■ │ □ ■ □ ■ │ □ ■ ■ □ │
│ ■ ■ □ □ │ ■ □ ■ □ │ ■ □ □ ■ │
────────┼───────────┼───────────┼───────────┤
│ □ □ ■ ■ │ □ ■ □ ■ │ □ ■ ■ □ │
Bot Row │ ■ ■ □ □ │ ■ □ ■ □ │ ■ □ □ ■ │
│ ■ ■ □ □ │ ■ □ ■ □ │ ■ □ □ ■ │
│ □ □ ■ ■ │ □ ■ □ ■ │ □ ■ ■ □ │
────────┴───────────┴───────────┴───────────┘
```