Qiskit, Quantum Computing, Python, Quantum Gate.
vector. qc = QuantumCircuit(1) initial_state = [1/sqrt(2),1/sqrt(2)] qc.initialize(initial_state, 0) qobj = assemble(qc) state = svsim.run(qobj).result().get_statevector() plot_bloch_multivector(state) qc.z(0) qobj = assemble(qc) state = svsim.run(qobj).result().get_statevector()