Skip to content

Commit

Permalink
rename irc_factory to ir_compile_factory
Browse files Browse the repository at this point in the history
  • Loading branch information
kaosmicadei committed Jul 30, 2024
1 parent 589ffd3 commit dd595a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions qadence2_ir/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from .factory import irc_factory
from .factory import ir_compiler_factory
from .irast import AST, Attributes, InputType
from .irbuilder import AbstractIRBuilder
from .types import AllocQubits
Expand All @@ -11,5 +11,5 @@
"Attributes",
"AST",
"InputType",
"irc_factory",
"ir_compiler_factory",
]
2 changes: 1 addition & 1 deletion qadence2_ir/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from .types import Model


def irc_factory(builder: AbstractIRBuilder) -> Callable[[InputType], Model]:
def ir_compiler_factory(builder: AbstractIRBuilder) -> Callable[[InputType], Model]:
def ir_compiler(input_obj: InputType) -> Model:
register = builder.set_register(input_obj)
directives = builder.set_directives(input_obj)
Expand Down

0 comments on commit dd595a2

Please sign in to comment.