Repository navigation
Conversation
…ign/oqd-core into grammar_modification
…ign/oqd-core into grammar_modification
…cker but it only works for static size of qmode and qreg
…AnalogASTBuilder, Added support for qudits, Refactor BinaryOp to take more than 2 arguments corresponding to repeated application of binary op from left to right
…ign/oqd-core into grammar_modification
…ecorator to turn a function into analog. Removed deprecated PrintOperator.
…isons between AnalogExpr.
…d modication in place
…variables should by default be assigned tha top.
…gic for add/sub/mul
yhteoh
marked this pull request as ready for review
October 16, 2026 17:40
…ns, added function names for operators [pos,neg,add,sub,mul, etc.]
yhteoh
force-pushed
the
grammar_modification
branch
from
October 19, 2026 14:12
93e370f to
a594251
Compare
…type checker for Pauli and Ladder
yhteoh
force-pushed
the
grammar_modification
branch
from
October 26, 2026 16:35
a26f4f1 to
d786167
Compare
…pdated analog example
…into grammar_modification
… statement number, and changed non critical errors in bounds checker and dim checker to warnings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
refactor, feature
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Features
^^1.0r2.0jQuantumRegister,ModeRegisterandExtractsupport arbitrary argumentsqreg(2, 3)for qutrit register and%X(0,1,3)for embedding Pauli X in the [0,1] subspace of a qutritEvolveprint,len,flatten,roundConstantFoldingdataflow analysis and rule to applyComplexRemoval
%+, subtraction%-, multiplication%*and kron%@+,-,*,@insteadFixes
DimensionCheckerAnalogBoundsCheckerTypeCheckerindexing>^>unary>*,/>+,-><,<=,>,>=>==>&&, and>||, or>^^, xor2^3^4 == 2^(3^4)1-2-3 = (1-2) - 3Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Major changes to grammar for language
Other information: