Skip to content

Commit

Permalink
Merge pull request #46 from oqc-community/release/v0.1.2
Browse files Browse the repository at this point in the history
Release v0.1.2
  • Loading branch information
chemix-lunacy authored Mar 21, 2024
2 parents a5e7ee3 + d907251 commit 1bc0d53
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: deploy-wheels

on:
release:
types: [released]

jobs:
deploy:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![build status](https://github.com/oqc-community/rasqal/actions/workflows/build.yaml/badge.svg?branch=main)
[![PyPi Deployment](https://github.com/oqc-community/rasqal/actions/workflows/deploy-wheels.yml/badge.svg?event=release)](https://github.com/oqc-community/rasqal/actions/workflows/deploy-wheels.yml)

Rasqal is a quantum-classical hybrid runtime which runs QIR in a fully dynamic fashion, building up quantum circuits on the fly and executing them against a provided quantum backend.
It uses symbolic execution and heavily deferred execution to perform code transformations, optimizations and lowering to power the circuit synthesis.
Expand Down
2 changes: 1 addition & 1 deletion src/rasqal/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![build status](https://github.com/oqc-community/rasqal/actions/workflows/build.yaml/badge.svg?branch=main)
[![PyPi Deployment](https://github.com/oqc-community/rasqal/actions/workflows/deploy-wheels.yml/badge.svg?event=release)](https://github.com/oqc-community/rasqal/actions/workflows/deploy-wheels.yml)

Rasqal is a quantum-classical hybrid runtime which runs QIR in a fully dynamic fashion, building up quantum circuits on the fly and executing them against a provided quantum backend.
It uses symbolic execution and heavily deferred execution to perform code transformations, optimizations and lowering to power the circuit synthesis.
Expand Down
2 changes: 1 addition & 1 deletion src/rasqal/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "rasqal"
version = "0.1.1"
version = "0.1.2"
requires-python = ">=3.9"
description = "A dynamically executed quantum-classical hybrid optimizing runtime."
license = { file = "LICENSE" }
Expand Down
2 changes: 1 addition & 1 deletion src/rasqal/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ impl QuantumRuntime {
let stuff = context.step_count.deref().clone();
if context.step_count.deref() > limit {
return Err(String::from(
"Execution step count limitation of {limit} exceeded."
format!("Execution step count limitation of {limit} exceeded.")
));
}
}
Expand Down
7 changes: 7 additions & 0 deletions src/scripts/psakefile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Include utils.ps1
Properties {
$ProjectRoot = Resolve-Path (Split-Path -Parent (Split-Path -Parent $PSScriptRoot))
$Root = Join-Path $ProjectRoot src
$Docs = Join-Path $ProjectRoot docs
$BuildLlvm = Join-Path $Root build-llvm
$Rasqal = Join-Path $Root rasqal
$Target = Join-Path $Root target
Expand Down Expand Up @@ -68,10 +69,16 @@ task test-rasqal {
pip install --force-reinstall --no-deps $packages
}

# Run Python tests
Invoke-LoggedCommand -workingDirectory $Root {
pip install pytest
pytest .
}

# Run our examples Python file.
Invoke-LoggedCommand -workingDirectory $Docs {
python examples.py
}
}

task check-environment {
Expand Down

0 comments on commit 1bc0d53

Please sign in to comment.