• Members 19 posts
    Sept. 5, 2021, 7:50 a.m.

    I am going through the qiskit documentation of simulators. I have learned that there are many types of simulators, and the main simulator backend of the Aer provider is the AerSimulator backend. However, in many other tutorials, statevector_simulator and qasm_simulator are used quite often. Can anyone explain what is the major differences of all these backends, and how to choose the most suitable one depending on different needs?
    backends.PNG

    backends.PNG

    PNG, 43.5 KB, uploaded by JXW on Sept. 5, 2021.

  • Members 12 posts
    Oct. 18, 2021, 11:44 p.m.

    They are mostly differed by simulation methods and maximum qubits. QasmSimulator is the closest implementation to a real quantum computer where all the readouts are in binary strings. I usually test all my code in this simulator and simply change the backend to a real quantum device. In StatevectorSimulator, you can readout the quantum state in vector form. UnitarySimulator allows you to print out the matrix form of a unitary quantum operation.

    IBMQ-Simulators.png

    More details coming later...

    IBMQ-Simulators.png

    PNG, 55.0 KB, uploaded by JackSong on Oct. 18, 2021.