TranspilationOptions
class TranspilationOptions(*args, **kwargs)
Transpilation options. This is only used by V1 primitives.
Parameters
- skip_transpilation – Whether to skip transpilation. Default is False.
- initial_layout – Initial position of virtual qubits on physical qubits. See
qiskit.compiler.transpilefor more information. - layout_method – Name of layout selection pass. One of ‘trivial’, ‘dense’, ‘noise_adaptive’, ‘sabre’.
- routing_method – Name of routing pass. One of ‘basic’, ‘lookahead’, ‘stochastic’, ‘sabre’, ‘none’.
- approximation_degree – heuristic dial used for circuit approximation (1.0=no approximation, 0.0=maximal approximation)
Attributes
approximation_degree
Tipo: UnsetType | float
Valor predeterminado: Unset
initial_layout
Tipo: UnsetType | dict | List
Valor predeterminado: Unset
layout_method
Tipo: UnsetType | Literal['trivial', 'dense', 'noise_adaptive', 'sabre']
Valor predeterminado: Unset
routing_method
Tipo: UnsetType | Literal['basic', 'lookahead', 'stochastic', 'sabre', 'none']
Valor predeterminado: Unset
skip_transpilation
Tipo: bool
Valor predeterminado: False
Methods
¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.