Quantum Computing, Quantum Computer, Simulator, From Scratch.
initial-qubits)) state-vector ; ==> (array #[#[0.7071067811865475] #[0] #[0.7071067811865475] #[0]]) Little-endian vs Big-endian What is the eqivalent code for the same thing above in Qiskit? It looks like this: from qiskit import * from qiskit_aer import StatevectorSimulator circuit =