from qiskit import BasicAer
from qiskit.providers.basicaer import BasicAerProvider

backend_list=BasicAer.backends()

backend_list

for name in backend_list:
    print(name)

backend=BasicAer.get_backend('qasm_simulator')

backend

backend.name()

backend=BasicAer.backends(name='qasm_simulator')

backend

provider=BasicAerProvider()
backend_list=provider.backends()

backend_list

for name in backend_list:
    print(name)

backend=provider.backends(name='qasm_simulator')

backend

backend=provider.get_backend('qasm_simulator')

backend

backend.name()

backend=BasicAer.backends(name='qasm_simulator')

backend

backend=BasicAer.get_backend('qasm_simulator')

backend

backend.name()

provider=BasicAerProvider()
backend=provider.backends(name='qasm_simulator')

backend

backend=provider.get_backend('qasm_simulator')

backend

backend.name()

from qiskit.providers.basicaer import QasmSimulatorPy


backend=QasmSimulatorPy()

backend

backend.name()