Skip to content

Latest commit

 

History

History
243 lines (148 loc) · 8.37 KB

CHANGELOG.md

File metadata and controls

243 lines (148 loc) · 8.37 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.9.0 - 2024-11-04

Fixed

  • Ensure unused classical registers are not omitted in #238

Added

  • PHIR generation for ClExprOp in #251

Changed

  • use WasmModuleHandler API to avoid temp files in #249

0.8.1 - 2024-09-11

Fixed

  • Use a context manager for opening files in #219
  • Emit nested binary expressions for classical ops in #224

0.8.0 - 2024-07-16

Added

  • Support for 64-bits while maintaining backward compatibility.

Changed

  • Abstract WORDSIZE to specify maxwidth on qasm conversion in #204 including
    • generate cvar with data_type dependent on WORDSIZE
    • Fail early on WASM calls with parameters using more than 32-bits
    • Require 64-bit version of PECOS, emit i32/i64 cvars for compatibility

0.7.3 - 2024-06-18

Added

0.7.2 - 2024-05-28

Added

  • feat(phirgen): add support for ZERO/ONE nullary ops by @qartik in #180

0.7.1 - 2024-04-12

Fixed

  • do nothing on Init gate instead of warning by @Asa-Kosto-QTM in #166

0.7.0 - 2024-04-10

Added

  • PHIR generation for ExplicitPredicate, ExplicitModifier, MultiBitOp in #162
    • Also fixes a bug with handling conditional ops

0.6.3 - 2024-04-02

Fixed

  • wasm/phirgen: correct arguments for conditional wasm functions in #157

0.6.2 - 2024-03-27

Fixed

  • phirgen: don't rely on args when qubits carries correct info in #155

0.6.1 - 2024-03-26

Fixed

  • Remove unneeded logic for comments for conditionals in #152
    • Fixes make_comment_text repeats the condition for conditional ops (#149)
  • Invalid reordering of operations involving classical bits in #151

0.6.0 - 2024-03-15

Changed

  • show approx transport time in PHIR in #147
    • BREAKING CHANGE: machine names H1_1/H1-1 and H1_2/H1-2 are now deprecated in favor of H1

0.5.1 - 2024-03-13

Changed

  • float not str for duration in #144

0.5.0 - 2024-03-06

Added

  • phirgen: add support for Sleep/Idle mop in #141
    • requires phir>=0.3.1

Changed

  • phirgen: better comments for classical expressions in PHIR output

0.4.4 - 2024-02-27

Fixed

  • support for nested bitwise ops in #135
  • phirgen: emit "Skip" "mop" instead of raising error on global phase in #138

0.4.3 - 2024-02-15

Removed

  • An unnecessary ordering check exposed by an edge case in #125

0.4.2 - 2024-02-07

Fixed

  • Bugs in execution order of subcommands in #124

0.4.1 - 2024-02-02

Added

  • emit barrier instructions during phirgen in #118

Fixed

  • minor typing/linting issues in #116
  • bug in sharding that assumed only one qreg declaration in #120

0.4.0 - 2024-01-26

Removed

  • pytket-quantinuum dependency in #107
    • BREAKING: Removes the tket_optimization_level argument to pytket_to_phir, i.e., input programs are expected to have any optimizations performed beforehand.

Fixed

  • A couple of bugs in parallel phirgen:
    • Prevent parallel blocks in 1-qubit circuits in #109
    • Stricter ordering checks in #112

0.3.0 - 2024-01-23

Added

  • Support for WASM files in #77
  • Support for bitwise operations in #94

Fixed

  • sharder: issue with classical ordering in #96

0.2.1 - 2024-01-17

Added

  • Support for Python 3.12 in #89

Fixed

  • RZ/R1XY order swapping issue in #82

  • Various phirgen bugs in #90:

    • ClassicalExpBox conversion is incomplete #86
    • KeyError: 'name' raised by pytket_to_phir with arithmetic operation #87
    • TypeError: 'int' object is not subscriptable raised by pytket_to_phir with arithmetic operation #88

0.2.0 - 2023-12-18

Added

  • Support for quantum parallel operations in #53
  • Support for CopyBits op in #67

Changed

  • Minimum supported version of phir is now v0.2.1 that supports "qparallel" blocks.
  • Performance improvement via sharder rework in #64
  • phirgen: metadata now includes pytket-phir version, see #65
  • pytket-phir can now consume QASM strings as opposed to files alone by @neal-erickson in #69

Fixed

  • phirgen: R2XXYYZZ is a 2-qubit gate in #60
  • phirgen: pass all bits in lhs of SetBitsOp in #63

0.1.2 - 2023-12-07

  • build: add minimum pytket/pytket-quantinuum versions
  • build: pin pecos to pre-release version
  • chore: update dependencies

0.1.1 - 2023-11-17

  • build: add missing dep, correct Python constraint in #37

0.1.0 - 2023-11-17

First release.