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.
- Host: GitHub
- URL: https://github.com/strilanc/qubery
- Owner: Strilanc
- License: mit
- Created: 2014-10-15T03:14:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-24T16:19:37.000Z (over 11 years ago)
- Last Synced: 2024-04-14T23:21:36.300Z (about 2 years ago)
- Language: Python
- Homepage:
- Size: 359 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 │ ■ ■ □ □ │ ■ □ ■ □ │ ■ □ □ ■ │
│ ■ ■ □ □ │ ■ □ ■ □ │ ■ □ □ ■ │
│ □ □ ■ ■ │ □ ■ □ ■ │ □ ■ ■ □ │
────────┴───────────┴───────────┴───────────┘
```