Skip to main content
IBM Quantum Platform
이 페이지는 Qiskit SDK 의 이전 버전에서 가져온 것으로, 최신 버전에는 존재하지 않습니다. 최신 버전으로 업데이트하시기를 권장합니다. 자세한 정보는 릴리스 정보를 참조하십시오.

qiskit.providers.convert_to_target

qiskit.providers.convert_to_target(configuration, properties=None, defaults=None, custom_name_mapping=None, add_delay=False, filter_faulty=False)

GitHub

Uses configuration, properties and pulse defaults to construct and return Target class.

In order to convert with a defaults.instruction_schedule_map, which has a custom calibration for an operation, the operation name must be in configuration.basis_gates and custom_name_mapping must be supplied for the operation. Otherwise, the operation will be dropped in the resulting Target object.

That suggests it is recommended to add custom calibrations after creating a target with this function instead of adding them to defaults in advance. For example:

target.add_instruction(custom_gate, {(0, 1): InstructionProperties(calibration=custom_sched)})
이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.