Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.6.8 #258

Merged
merged 5 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).


## [ 0.6.8 ] - [ 2024-10-16 ]

### Added
- Gate modifiers: `inv`, `pow`, and `ctrl`.
- C++ linters GitHub Actions job (just running clang-format at the moment).

### Changed
- Fix bug: empty lists are written out to JSON as `"[]"` instead of `[]`.
- Fix bug: CRk and CZ parameter types were interchanged in the instruction set.
- More descriptive and consistent (snake case) file names.
- Minor fixes and tweaks to documentation.

### Removed


## [ 0.6.7 ] - [ 2024-05-30 ]

### Added
Expand Down
2 changes: 1 addition & 1 deletion docs/dev-guide/cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The following line will also build and cache the `libqasm` Conan package.

```shell
conan profile detect
conan create --version 0.6.7 . -pr:a=tests-debug -b missing
conan create --version 0.6.8 . -pr:a=tests-debug -b missing
```

You can test the C++ binaries:
Expand Down
4 changes: 2 additions & 2 deletions docs/user-guide/cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ libQASM can be requested as a Conan package from a `conanfile.py`.

```
def build_requirements(self):
self.tool_requires("libqasm/0.6.7")
self.tool_requires("libqasm/0.6.8")
def requirements(self):
self.requires("libqasm/0.6.7")
self.requires("libqasm/0.6.8")
```

And then linked against from a `CMakeLists.txt`:
Expand Down
2 changes: 1 addition & 1 deletion emscripten/test_libqasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ wrapper().then(function(result: any) {

try {
let output = cqasm.get_version()
let expected_output = "0.6.7"
let expected_output = "0.6.8"
console.log("\nThe version of libqasm compiled with emscripten is:", output);
if (output !== expected_output) {
console.log("\tExpected output:", expected_output)
Expand Down
2 changes: 1 addition & 1 deletion include/libqasm/versioning.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace cqasm {

static const char* version{ "0.6.7" };
static const char* version{ "0.6.8" };
static const char* release_year{ "2024" };

[[nodiscard]] [[maybe_unused]] static const char* get_version() {
Expand Down
Loading