View source on GitHub |
A unique formatter to correctly output values to QUIL.
cirq_rigetti.quil_output.QuilFormatter(
qubit_id_map: Dict['cirq.Qid', str], measurement_id_map: Dict[str, str]
) -> None
Methods
check_unused_args
check_unused_args(
used_args, args, kwargs
)
convert_field
convert_field(
value, conversion
)
format
format(
format_string, *args, /, **kwargs
)
format_field
format_field(
value: Any, spec: str
) -> str
get_field
get_field(
field_name, args, kwargs
)
get_value
get_value(
key, args, kwargs
)
parse
parse(
format_string
)
vformat
vformat(
format_string, args, kwargs
)