SimulatorOptions
class SimulatorOptions(*args, **kwargs)
Simulator options.
For best practice in simulating a backend make sure to pass the basis gates and coupling map of that backend.
Parameters
- noise_model – Noise model for the simulator. Default:
None. - seed_simulator – Random seed to control sampling. Default:
None. - coupling_map – Directed coupling map to target in mapping. If the coupling map is symmetric, both directions need to be specified. Each entry in the list specifies a directed two-qubit interactions, e.g:
[[0, 1], [0, 3], [1, 2], [1, 5], [2, 5], [4, 1], [5, 3]]. Default:None, which implies no connectivity constraints. - basis_gates – List of basis gate names to unroll to. For example,
['u1', 'u2', 'u3', 'cx']. Unrolling is not done if not set. Default: all basis gates supported by the simulator.
Attributes
basis_gates
Tipo: UnsetType | List[str]
Valor predeterminado: Unset
coupling_map
Tipo: UnsetType | List[List[int]] | CouplingMap
Valor predeterminado: Unset
noise_model
Tipo: UnsetType | dict | NoiseModel | None
Valor predeterminado: Unset
seed_simulator
Tipo: UnsetType | int
Valor predeterminado: Unset
Methods
set_backend
¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.