iqm.pulse.builder.build_quantum_ops

iqm.pulse.builder.build_quantum_ops#

iqm.pulse.builder.build_quantum_ops(ops)#

Builds the table of known quantum operations.

Hardcoded default native ops table is extended by the ones in ops. In case of name collisions, the content of ops takes priority over the defaults.

Parameters:

ops (dict[str, Any]) – Contents of the gate_definitions section defining the quantum operations in the configuration YAML file. Modified by the function.

Returns:

Mapping from quantum operation name to its definition

Return type:

dict[str, QuantumOp]