Quantum Computing Qiskit - How to read data from classical registers
$10-30 USD
Imefungwa
Imechapishwa almost 5 years ago
$10-30 USD
Kulipwa wakati wa kufikishwa
from qiskit import *
qr = QuantumRegister(3)
cr = ClassicalRegister(3)
circ = QuantumCircuit(qr,cr)
circ.h(qr[0])
circ.h(qr[1])
circ.h(qr[2])
[login to view URL](qr,cr)
#============================#
#
# now cr[0] maybe 0 or 1
#
# I want to know or copy its value to another normal variable to use it in my calculation,
# something like: if(cr[0]==0) cr_val=0 else cr_val=1
Dear Prospect Hiring Manager.
Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned
"I can do this job and give you an efficient job that will be very acceptable and presentable. I and my team work on web development and mobile apps and I can assure you that you will never be disappointed"