You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support to Angle, extern and Complex type (#239)
* fix the `.gitattributes` file to exclude binary files from text processing
* Add angle type support in QASM
* update CHANGELOG.md
* update test case
* Add support for complex number operations in QASM
* update CHANGELOG.md
* code refactor
- Changed `angle_vars_in_expr` to a single variable `angle_var_in_expr` for improved clarity and functionality.
- Introduced new trigonometric functions (`arccos`, `arcsin`, `arctan`) to the FUNCTION_MAP.
- Adjusted tests to validate new angle expressions and ensure correct bit string conversions.
* Add extern function support in QASM
* Enhance QASM type validation and bitstring handling
- Updated `Qasm3ExprEvaluator` to include support for `BitstringLiteral` in expression evaluations.
- Improved `Qasm3SubroutineProcessor` to validate argument types, including checks for `BitType` and `AngleType`.
- Added a new method in `QasmVisitor` to validate the width of bitstring literals.
- Adjusted `PulseValidator` to handle string representations of bitstrings.
- Updated tests to reflect changes in bitstring handling and validation logic.
* code refactor
* update test case
* code refactor
Copy file name to clipboardExpand all lines: CHANGELOG.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,30 @@ Types of changes:
19
19
- A github workflow for validating `CHANGELOG` updates in a PR ([#214](https://github.com/qBraid/pyqasm/pull/214))
20
20
- Added `unroll` command support in PYQASM CLI with options skipping files, overwriting originals files, and specifying output paths.([#224](https://github.com/qBraid/pyqasm/pull/224))
21
21
- Added `.github/copilot-instructions.md` to the repository to document coding standards and design principles for pyqasm. This file provides detailed guidance on documentation, static typing, formatting, error handling, and adherence to the QASM specification for all code contributions. ([#234](https://github.com/qBraid/pyqasm/pull/234))
22
+
- Added support for `Angle`,`extern` and `Complex` type in `OPENQASM3` code in pyqasm. ([#239](https://github.com/qBraid/pyqasm/pull/239))
- Added a new `QasmModule.compare` method to compare two QASM modules, providing a detailed report of differences in gates, qubits, and measurements. This method is useful for comparing two identifying differences in QASM programs, their structure and operations. ([#233](https://github.com/qBraid/pyqasm/pull/233))
0 commit comments