QubitMapping#
- QubitMapping#
Mapping from logical qubit names to physical qubit names.
alias of
Annotated[dict[str,str],BeforeValidator(func=_parse_legacy_qubit_mapping, json_schema_input_type=PydanticUndefined),PlainSerializer(func=_serialize_as_legacy_qubit_mapping, return_type=PydanticUndefined, when_used=always),WithJsonSchema(json_schema={‘anyOf’: [{‘items’: {‘additionalProperties’: False, ‘properties’: {‘logical_name’: {‘type’: ‘string’}, ‘physical_name’: {‘type’: ‘string’}}, ‘required’: [‘logical_name’, ‘physical_name’], ‘type’: ‘object’}, ‘type’: ‘array’}, {‘type’: ‘null’}]}, mode=None)]