I have a 2 qubits system, maximally entangled, and I performed measurement on one of the qubit.
q = QuantumRegister(2)
c = ClassicalRegister(1)
qc = QuantumCircuit(q, c)
###create Bell State Qubit########
qc.h(q[1])
qc.cx(q[1],q[0])
### Perform Measurement ##########
qc.measure(q[0],c)
job = execute(qc,simulator,shots = 1000)
result = job.result()
counts = result.get_counts(qc)
print("\nTotal count for 0 and 1 are:",counts)
Before measurement, the state of the 2 qubit is $|00\rangle+|11\rangle/\sqrt{2}$. After obtaining the measurement result, I measured another qubit. I expected the 2nd qubit to collapse to either 1 of the 2 states($|0\rangle$ or $|1\rangle$) after measurement, but the result shows it is still in the superposition state. How do I renormalise the qubit state after measurement?
qc.measure(q[1],c)
job = execute(qc,simulator,shots=1000)
result = job.result()
counts = result.get_counts(qc)
print("\n Total count for 0 and 1 are:,counts")