Home Changelog as of October 15, 2021
Post
Cancel

Changelog as of October 15, 2021

Week Highlights

  • Mentorship checkpoint 1 done!
  • Added bitarray implementation and testing
  • Updated structure as per new ast changes
  • Updates in ast:
    • Refactored qasm_parset, removed - redundant files updated IOKeyword and TimeUnit node in ast.py. Fixed merge conflicts and reformatted
    • Updated desginator parameter to size - jakelishman

Update notes

  1. source/openqasm/src/openqasm/translator/context.py-
    • Bug fixes according to the new changes in LiChens ast commits
  2. source/openqasm/src/openqasm/translator/translator.py -
    • Bug fixes according to the new changes in LiChens ast commits
    • Removed unused imports
  3. source/openqasm/src/openqasm/translator/bitarray.py -
    • Initial implementation for bitarray types
    • Fixed issue in RegisterView.getitem
    • Added implementation for BaseBitArray.getitem
    • Added additional ClassicalType as per specification by @mbhealy
    • Added initial code for duration type + bug fixes
    • Refactored implementation and changed List[Optional[bool]] -> Optional[str]
    • Implemented bitwise operations in BitArray
    • Added logical operators support
  4. source/openqasm/src/openqasm/translator/tests/test_bitarray.py -
    • Added test file for bitarray type testing
  5. source/openqasm/src/openqasm/translator/test.py -
    • Updated test.py to newer BitArrayType declaration syntax
  6. source/openqasm/src/openqasm/translator/identifiers.py -
    • Removed redundant get_register
  7. source/openqasm/src/openqasm/translator/types.py -
    • Updated code with simplifications
    • Bug fixes according to the new changes in LiChens ast commits

Meeting notes

  • Openpulse backend support access if needed - Junye
  • Cleanup minor details for implementation for the current progress.
  • Charge forward to defcal!
  • Seeking guidance if anyone has written openpulse grammars.
  • Pluggable grammars: need to decide on which grammar to select and checkout if anyone has a sample grammer set.
  • Look into implement physical qubit syntax and part of duration syntax.
  • Openended questions may mean the grammar isnt even complete https://qiskit.github.io/openqasm/language/openpulse.html.
  • Jack will check out with TSC if its possible to get a copy of openpulse grammar.
  • May have to invent our own defcal grammar.
This post is licensed under CC BY 4.0 by the author.