mapping
Mapping
A Mapping is a dictionary where
- the keys are virtual qubit indices (from 0 to virtual_qubit_register_size-1), and
- the values are physical qubit indices.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
physical_qubit_register |
list[int]
|
a list of physical qubit indices. |
required |
Raises:
Type | Description |
---|---|
ValueError
|
If the mapping is incorrect. |