Skip to content

Commit

Permalink
Add needed file
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-johnson committed Oct 2, 2023
1 parent d069874 commit 1958a98
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from qiskit import QuantumCircuit


def create_hello_world_circuit() -> QuantumCircuit:
circuit = QuantumCircuit(2)
circuit.h(0)
circuit.cx(0, 1)
circuit.measure_all()
return circuit

0 comments on commit 1958a98

Please sign in to comment.