-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or requestmildThis issue or pull request is not critical at the momentThis issue or pull request is not critical at the moment
Description
Overview
Currently there is a transformer (EvaluateMathExpr) which does evaluation of MathExpr objects: https://github.com/OpenQuantumDesign/midstack/blob/13ed42c7c0e37ce6078727403727d18464454f9f/quantumion/compiler/math.py#L25
The logic of this transformer can be move to VerificationFlow graph:
https://github.com/OpenQuantumDesign/midstack/blob/13ed42c7c0e37ce6078727403727d18464454f9f/quantumion/compiler/analog/verification_flow.py#L114
so that the MathExpr objects can be simplified during the Canonicalization process.
Fix
Add a subgraph in VerificationFlow graph to canonicalize and evaluate MathExpr objects.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestmildThis issue or pull request is not critical at the momentThis issue or pull request is not critical at the moment