Skip to main content
IBM Quantum Platform

qiskit_noise_learning.circuit_generator.ExecutorDataMapper

class qiskit_noise_learning.circuit_generator.ExecutorDataMapper(item_sequence_indices: list[list[int]], item_creg_names: list[list[str]], item_clbit_qubit_idxs: list[dict[str, ndarray[int]]], instruction_sequences: list[InstructionSequence], num_randomizations: int, randomization_multipliers: list[int] | None = None, shots: int | None = None, fidelity_model: LinearMap[Hashable, FidelityIndex] | None = None, paths: list[Path] | None = None, relations: set[tuple[int, int]] | None = None)

GitHub

베이스: object

Map 실행기는 표준 결과를 산출합니다.

유사한 구조를 가진 명령 시퀀스들이 단일 템플릿 회로와 서로 다른 samplex 인자와 함께 생성되므로, 실행 중에 로 전달되는 입력 시퀀스의 순서는 유지되지 않습니다 ExecutorCircuitGenerator.generate() . 이 클래스에는 입력 시퀀스의 순서에 따라 QuantumProgramResult 결과의 서식을 지정하는 속성이 포함되어 있습니다.

매개변수

  • item_sequence_indices – 각 프로그램 항목에 대해, 명령어 시퀀스 인덱스의 순서대로 정렬된 목록입니다. 목록 내의 순서는 결과 항목 내의 구성 인덱스와 일치합니다.
  • item_creg_names – 각 프로그램 항목에 포함된 클래식 레지스터의 이름.
  • item_clbit_qubit_idxs – 각 프로그램 항목에 대해, creg 이름과 각 고전 비트에 측정된 물리적 큐비트 인덱스를 고전 비트 순서대로 매핑한 사전입니다.
  • instruction_sequences – 데이터와 관련된 명령어 시퀀스.
  • num_randomizations – 실험당 사용되는 무작위 배정 횟수.
  • randomization_multipliers – 시퀀스별 무작위화 배수. 와 병렬로 작동하여 instruction_sequences, 시퀀스 가 항목 에 대해 번 num_randomizations i 무작위화를 i 수행하도록 합니다.
  • 샷 수 – 무작위 배정당 샷 수.
  • fidelity_model – 실험에 사용된 충실도 모델.
  • 경로 – 분석 경로.
  • 관계 – 경로-시퀀스 관계.

__init__

__init__(item_sequence_indices: list[list[int]], item_creg_names: list[list[str]], item_clbit_qubit_idxs: list[dict[str, ndarray[int]]], instruction_sequences: list[InstructionSequence], num_randomizations: int, randomization_multipliers: list[int] | None = None, shots: int | None = None, fidelity_model: LinearMap[Hashable, FidelityIndex] | None = None, paths: list[Path] | None = None, relations: set[tuple[int, int]] | None = None)


메소드

칼럼 1
칼럼 2
__init__(항목_순서_인덱스,...[, ...])

속성

칼럼 1
칼럼 2
fidelity_model실험에 사용된 충실도 모델.
instruction_sequences시퀀스 맵의 시퀀스 인덱스에 해당하는 명령어 시퀀스.
item_clbit_qubit_idxscreg 이름과 측정된 큐비트 인덱스 간의 프로그램 항목별 매핑.
item_creg_names결과에 포함된 고전적 레지스터의 이름 목록.
item_sequence_indices프로그램 항목별로, 각 구성에 해당하는 명령어 시퀀스 인덱스.
num_randomizations실험당 사용되는 무작위 배정의 기본 횟수.
paths분석 경로.
randomization_multipliers시퀀스별 무작위 배정 배수, 또는 명시되지 않은 None 경우.
relations경로-서열 관계.
shots무작위 배정당 샷 수, 또는 명시되지 않은 None 경우.

item_sequence_indices

유형: list[list[int]]

프로그램 항목별로, 각 구성에 해당하는 명령어 시퀀스 인덱스.

item_creg_names

유형: list[list[str]]

결과에 포함된 고전적 레지스터의 이름 목록.

주어진 인덱스에 있는 목록은 데이터의 동일한 인덱스에서 QuantumProgramResult 예상되는 이름들과 일치합니다.

item_clbit_qubit_idxs

유형: list[dict[str, ndarray[int]]]

creg 이름과 측정된 큐비트 인덱스 간의 프로그램 항목별 매핑.

레지스터 배열의 j 항목은 해당 클래식 비트로 측정된 물리적 큐비트 인덱스입니다 j.

instruction_sequences

유형: list

시퀀스 맵의 시퀀스 인덱스에 해당하는 명령어 시퀀스.

num_randomizations

유형: int

실험당 사용되는 무작위 배정의 기본 횟수.

가 주어지면 randomization_multipliers , 수열 은 해당 곱셈기 중 i 번째 항을 이 횟수만큼 i 사용합니다.

randomization_multipliers

유형: list[int] | None

시퀀스별 무작위 배정 배수, 또는 명시되지 않은 None 경우.

지시 순서에 대한 num_randomizations 진입 척도 i``i .

shots

유형: int | None

무작위 배정당 샷 수, 또는 명시되지 않은 None 경우.

fidelity_model

유형: LinearMap[Hashable, FidelityIndex] | None

실험에 사용된 충실도 모델.

paths

유형: list[Path] | None

분석 경로.

relations

유형: set[tuple[int, int]] | None

경로-서열 관계.

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.