eaglelandsonce commited on
Commit
51875e0
·
verified ·
1 Parent(s): 00249c9

Rename pages to pages/44_Circuits.py

Browse files
Files changed (2) hide show
  1. pages +0 -1
  2. pages/44_Circuits.py +137 -0
pages DELETED
@@ -1 +0,0 @@
1
- me.txt
 
 
pages/44_Circuits.py ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # List of 44 quantum circuits with details
4
+ quantum_circuits = [
5
+ {"name": "Single-Qubit Gates",
6
+ "problem": "Basic state manipulation.",
7
+ "unique": "Fundamental building blocks for all quantum operations.",
8
+ "reference": "[Nielsen & Chuang, Qiskit Documentation](https://qiskit.org/)"},
9
+ {"name": "Hadamard Gate",
10
+ "problem": "Creates superposition.",
11
+ "unique": "Enables quantum parallelism.",
12
+ "reference": "[Preskill's Lecture Notes, Qiskit Documentation](https://qiskit.org/)"},
13
+ {"name": "Pauli Gates Combination",
14
+ "problem": "Applies quantum NOT and rotations.",
15
+ "unique": "Demonstrates quantum state transformations.",
16
+ "reference": "[Qiskit Pauli Gates Documentation](https://qiskit.org/)"},
17
+ {"name": "CNOT Gate",
18
+ "problem": "Correlates qubits (entanglement starter).",
19
+ "unique": "Essential for multi-qubit control.",
20
+ "reference": "[Preskill's Notes, Qiskit CNOT Gate Documentation](https://qiskit.org/)"},
21
+ {"name": "Bell State Circuit",
22
+ "problem": "Generates entanglement (Bell state).",
23
+ "unique": "Foundation of quantum entanglement.",
24
+ "reference": "[Aspect et al., Qiskit Bell States](https://qiskit.org/textbook/)"},
25
+ {"name": "Quantum Swap Gate",
26
+ "problem": "Swaps two qubits.",
27
+ "unique": "Shows controlled qubit state exchange.",
28
+ "reference": "[Nielsen & Chuang, Qiskit Swap Gate Documentation](https://qiskit.org/documentation/)"},
29
+ {"name": "Phase Gate",
30
+ "problem": "Adds phase shift to qubits.",
31
+ "unique": "Demonstrates phase-based state manipulation.",
32
+ "reference": "[Preskill’s Notes, Qiskit Phase Gate Documentation](https://qiskit.org/)"},
33
+ {"name": "Measurement Circuit",
34
+ "problem": "Converts quantum states into classical information.",
35
+ "unique": "Bridge between quantum and classical realms.",
36
+ "reference": "[Qiskit Measurement Documentation](https://qiskit.org/textbook/)"},
37
+ {"name": "Quantum NOT Circuit",
38
+ "problem": "Flips the state of a qubit.",
39
+ "unique": "Quantum analog to classical NOT.",
40
+ "reference": "[Nielsen & Chuang, Qiskit X Gate](https://qiskit.org/documentation/)"},
41
+ {"name": "Single-Qubit Rotation",
42
+ "problem": "Rotates qubits on Bloch Sphere.",
43
+ "unique": "Demonstrates parameterized quantum gates.",
44
+ "reference": "[Qiskit Rotation Gates Documentation](https://qiskit.org/documentation/)"},
45
+ {"name": "Deutsch's Algorithm",
46
+ "problem": "Determines if a function is constant or balanced.",
47
+ "unique": "First quantum speedup demonstration.",
48
+ "reference": "[Deutsch & Jozsa, Qiskit Deutsch Algorithm](https://qiskit.org/textbook/)"},
49
+ {"name": "Quantum Fourier Transform (QFT)",
50
+ "problem": "Converts quantum states to frequency domain.",
51
+ "unique": "Core of Shor’s Algorithm.",
52
+ "reference": "[Shor's Algorithms, Qiskit QFT Documentation](https://qiskit.org/textbook/)"},
53
+ {"name": "Grover's Algorithm",
54
+ "problem": "Searches an unstructured database.",
55
+ "unique": "Quadratic speedup.",
56
+ "reference": "[Grover's Search, Qiskit Grover Documentation](https://qiskit.org/textbook/)"},
57
+ {"name": "Shor's Algorithm for Factoring",
58
+ "problem": "Efficiently factors integers.",
59
+ "unique": "Breaks RSA cryptography.",
60
+ "reference": "[Shor, Qiskit Shor’s Algorithm Documentation](https://qiskit.org/textbook/)"},
61
+ {"name": "Toffoli Gate (CCNOT)",
62
+ "problem": "Executes classical logic in quantum circuits.",
63
+ "unique": "Reversible computation.",
64
+ "reference": "[Toffoli, Qiskit Toffoli Gate Documentation](https://qiskit.org/documentation/)"},
65
+ {"name": "GHZ State Circuit",
66
+ "problem": "Creates multi-qubit entanglement.",
67
+ "unique": "Extends Bell state for three qubits.",
68
+ "reference": "[Greenberger et al., Qiskit GHZ State Documentation](https://qiskit.org/documentation/)"},
69
+ {"name": "Bernstein–Vazirani Algorithm",
70
+ "problem": "Extracts hidden binary strings.",
71
+ "unique": "Solves the problem in one query.",
72
+ "reference": "[Bernstein & Vazirani, Qiskit Documentation](https://qiskit.org/textbook/)"},
73
+ {"name": "Quantum Phase Estimation",
74
+ "problem": "Estimates eigenvalues of a unitary matrix.",
75
+ "unique": "Central to advanced algorithms like Shor’s.",
76
+ "reference": "[Kitaev, Qiskit Phase Estimation Documentation](https://qiskit.org/textbook/)"},
77
+ {"name": "Quantum Teleportation",
78
+ "problem": "Transfers a qubit state using entanglement.",
79
+ "unique": "Demonstrates practical entanglement use.",
80
+ "reference": "[Bennett et al., Qiskit Teleportation Documentation](https://qiskit.org/textbook/)"},
81
+ {"name": "Amplitude Amplification",
82
+ "problem": "Increases desired outcomes' probabilities.",
83
+ "unique": "Grover’s extension for optimization.",
84
+ "reference": "[Brassard et al., Qiskit Amplitude Amplification](https://qiskit.org/textbook/)"},
85
+ {"name": "Quantum Multiplexer",
86
+ "problem": "Conditional application of operations.",
87
+ "unique": "Controlled gate generalization.",
88
+ "reference": "[Qiskit Controlled Gates Documentation](https://qiskit.org/documentation/)"},
89
+ {"name": "Fredkin Gate (CSWAP)",
90
+ "problem": "Swaps states conditionally.",
91
+ "unique": "Logical gate for advanced operations.",
92
+ "reference": "[Fredkin & Toffoli, Qiskit Fredkin Gate Documentation](https://qiskit.org/documentation/)"},
93
+ {"name": "Error Correction Code (3-Qubit Code)",
94
+ "problem": "Protects against bit-flip errors.",
95
+ "unique": "Introduces quantum redundancy.",
96
+ "reference": "[Shor, Qiskit Error Correction Code Documentation](https://qiskit.org/textbook/)"},
97
+ {"name": "Quantum Random Number Generator",
98
+ "problem": "Produces true randomness.",
99
+ "unique": "Based on measurement unpredictability.",
100
+ "reference": "[Qiskit Random Number Generator](https://qiskit.org/textbook/)"},
101
+ {"name": "Quantum Approximate Optimization Algorithm (QAOA)",
102
+ "problem": "Solves combinatorial optimization.",
103
+ "unique": "Quantum-classical hybrid.",
104
+ "reference": "[Farhi et al., Qiskit QAOA Documentation](https://qiskit.org/documentation/)"},
105
+ {"name": "Variational Quantum Eigensolver (VQE)",
106
+ "problem": "Finds molecular ground states.",
107
+ "unique": "Quantum chemistry use.",
108
+ "reference": "[McClean et al., Qiskit VQE Documentation](https://qiskit.org/documentation/)"},
109
+ {"name": "Simon's Algorithm",
110
+ "problem": "Identifies periodicity in a function.",
111
+ "unique": "Exponential speedup over classical algorithms.",
112
+ "reference": "[Simon's Algorithm, Qiskit Documentation](https://qiskit.org/textbook/)"},
113
+ {"name": "HHL Algorithm",
114
+ "problem": "Solves linear systems of equations.",
115
+ "unique": "Efficient quantum solution to linear problems.",
116
+ "reference": "[Harrow, Hassidim, Lloyd (HHL), Qiskit Documentation](https://qiskit.org/documentation/)"},
117
+ {"name": "Quantum Neural Networks (QNN)",
118
+ "problem": "Classifies data using quantum circuits.",
119
+ "unique": "Early example of quantum-enhanced machine learning.",
120
+ "reference": "[Quantum Neural Networks, Qiskit Tutorials](https://qiskit.org/textbook/)"},
121
+ {"name": "Quantum Key Distribution (BB84)",
122
+ "problem": "Securely exchanges cryptographic keys.",
123
+ "unique": "Pioneering application of quantum cryptography.",
124
+ "reference": "[BB84 Protocol, Qiskit Documentation](https://qiskit.org/documentation/)"},
125
+ {"name": "Quantum Supremacy Simulation",
126
+ "problem": "Demonstrates computational advantage of quantum devices.",
127
+ "unique": "Benchmarks quantum speedup over classical systems.",
128
+ "reference": "[Google Quantum Supremacy Experiment, Research Papers](https://research.google/)"}
129
+ ]
130
+
131
+ st.title("Quantum Circuit Explorer")
132
+
133
+ for circuit in quantum_circuits:
134
+ with st.expander(f"{circuit['name']}"):
135
+ st.write(f"**Problem:** {circuit['problem']}")
136
+ st.write(f"**What Makes It Unique:** {circuit['unique']}")
137
+ st.markdown(f"[Reference Link]({circuit['reference']})")