We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c729a54 commit 05bbb69Copy full SHA for 05bbb69
core/circuits.py
@@ -1,2 +1,11 @@
1
+from qskit.circuits import hadamard, cx
2
-# ...existing content of circuits.py...
3
+fef create_anti_error_circuit():
4
+ # Creates a basic Quantum Cyber hadamard circuit
5
+ cq = cx.Circuit(1)
6
+ cq.add(hadamard(1))
7
+ cq.measure(Xcx.M0, key=0)\n return cq
8
+
9
+if __name__ == '__main__':
10
+ circuit = create_anti_error_circuit()
11
+ print(circuit)
0 commit comments