diff --git a/src/bartiq/compilation/_symbolic_function.py b/src/bartiq/compilation/_symbolic_function.py index b9a906c..f9a5c69 100644 --- a/src/bartiq/compilation/_symbolic_function.py +++ b/src/bartiq/compilation/_symbolic_function.py @@ -166,11 +166,6 @@ def parse_output_expressions( return [DependentVariable(key, backend.as_expression(value), backend) for key, value in output_expressions.items()] -def parse_output_expression(output_expression: str, backend: SymbolicBackend[T_expr]) -> DependentVariable[T_expr]: - """Parses a single output expression string to an output variable.""" - return DependentVariable.from_str(output_expression, backend) - - def _merge_functions( function_1: SymbolicFunction[T_expr], function_2: SymbolicFunction[T_expr] ) -> SymbolicFunction[T_expr]: @@ -215,12 +210,6 @@ def _merge_functions( return SymbolicFunction(inputs_new, outputs_new) -def _serialize_variables(variables: Union[dict[str, IndependentVariable], dict[str, DependentVariable]]) -> list[str]: - """Serializes variables.""" - assert isinstance(variables, dict) - return [str(variable) for variable in variables.values()] - - def _verify_symbolic_function(function: SymbolicFunction) -> None: """No monkey business allowed.""" _verify_inputs_are_independent_variables(function)