About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
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.transpile
for 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
Type: UnsetType | float
Default value: Unset
initial_layout
Type: UnsetType | dict | List
Default value: Unset
layout_method
Type: UnsetType | Literal['trivial', 'dense', 'noise_adaptive', 'sabre']
Default value: Unset
routing_method
Type: UnsetType | Literal['basic', 'lookahead', 'stochastic', 'sabre', 'none']
Default value: Unset
skip_transpilation
Type: bool
Default value: False
Methods
Was this page helpful?
Report a bug or request content on GitHub.