Simulator configuration

Simulator configuration

The IBMQ simulator configuration shares much in common with those of real quantum systems. However, there are some notable differences as highlighted below:

  • n_qubits - For simulators, this number need not be uniquely defined, and instead can depend on the simulation method and/or the amount of memory available.

  • basis_gates - The IBM Quantum simulator supports a wide variety of gates outside of those that can be executed on real quantum systems.

['u1', 'u2', 'u3', 'u', 'p', 'r', 'rx', 'ry', 'rz', 'id', 'x', 'y', 'z', 'h', 's', 'sdg', 'sx', 't', 'tdg', 'swap', 'cx', 'cy', 'cz', 'csx', 'cp', 'cu1', 'cu2', 'cu3', 'rxx', 'ryy', 'rzz', 'rzx', 'ccx', 'cswap', 'mcx', 'mcy', 'mcz', 'mcsx', 'mcp', 'mcu1', 'mcu2', 'mcu3', 'mcrx', 'mcry', 'mcrz', 'mcr', 'mcswap', 'unitary', 'diagonal', 'multiplexer', 'initialize', 'kraus', 'roerror', 'delay']
  • coupling_map - Simulators support all-to-all connectivity and will return None for this value.