Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBasic implementation of Hadamard Gate and CNOT gate. #3036
Conversation
…ify how to build circuits and how to use these gates.
|
|
||
| from qiskit import * | ||
|
|
||
| qr = QuantumRegister(2) # 2 qubits | ||
| cr = ClassicalRegister(2) # 2 classical bits for measurement | ||
|
|
||
| circuit = QuantumCircuit(qr, cr) #Built a quantum circuit | ||
|
|
Addhyay
Oct 8, 2020
Author
Writing circuit
Writing circuit
Travis tests have failedHey @Addhyay, TravisBuddy Request Identifier: f2fefe40-0960-11eb-b9d6-41d4da7e5060 |


This basic implementation will clarify how to build circuits and how to use these gates.
Describe your change:
Checklist:
Fixes: #{$ISSUE_NO}.