Skip to content

Commit

Permalink
Merge branch 'master' into pr/amicciche/198
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov committed Dec 16, 2023
2 parents 41ee4cf + 8125b9e commit 040b0f7
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 28 deletions.
22 changes: 22 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
env:
CODECOV_TOKEN: adb3f22a-231a-4f7b-8ed4-7c6c56453cbe
JULIA_NUM_THREADS: auto

steps:
- label: "CI Buildkite"
plugins:
- JuliaCI/julia#v1:
version: "1"
- QuantumSavory/julia-xvfb#v1:
- JuliaCI/julia-test#v1: ~
- JuliaCI/julia-coverage#v1:
codecov: true
command: |
julia -e '
using Pkg
Pkg.add("QuantumSavory")
Pkg.build("QuantumSavory")
Pkg.test("QuantumSavory")
Pkg.add("BPGates")
Pkg.build("BPGates")
Pkg.test("BPGates")'
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@ jobs:
fail-fast: false
matrix:
version:
- '1.9'
- '1'
os:
- ubuntu-latest
threads:
- '1'
- '5'
arch:
- x64
include:
- os: ubuntu-latest
arch: x64
version: '1.9'
threads: 2
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand All @@ -36,6 +41,10 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: cjdoris/julia-downgrade-compat-action@v1
if: ${{ matrix.version == '1.9' }}
with:
skip: Pkg, InteractiveUtils, Random, LinearAlgebra
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

# News

## v0.8.19 - 2023-12-16

- Bumping up the lower bounds of many dependencies and adding lower-bound compatibility checks to CI.

## v0.8.18 - 2023-11-22

- `ECC.faults_matrix` detects and warns when encountery codes with redundant checks.
Expand Down
16 changes: 0 additions & 16 deletions CONTRIBUTORS

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Abhishek Bhatt
Copyright (c) 2023 Stefan Krastanov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 8 additions & 8 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "QuantumClifford"
uuid = "0525e862-1e90-11e9-3e4d-1b39d7109de1"
authors = ["Stefan Krastanov <[email protected]>"]
version = "0.8.18"
version = "0.8.19"

[deps]
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Expand Down Expand Up @@ -40,22 +40,22 @@ QuantumCliffordQuantikzExt = "Quantikz"
CUDA = "4.4.0"
Combinatorics = "1.0"
DataStructures = "0.18"
DocStringExtensions = "0.8, 0.9"
Graphs = "1.4.1"
DocStringExtensions = "0.9"
Graphs = "1.9"
HostCPUFeatures = "0.1.6"
ILog2 = "0.2.3"
InteractiveUtils = "1"
LDPCDecoders = "0.1.1"
LinearAlgebra = "1"
MacroTools = "0.5.9"
Makie = "0.19.7"
Nemo = "0.34, 0.35, 0.36"
Nemo = "0.38"
Plots = "1.38.0"
PrecompileTools = "1"
PrecompileTools = "1.2"
Quantikz = "1.3.1"
QuantumInterface = "0.3.0"
QuantumOpticsBase = "0.4"
QuantumInterface = "0.3.3"
QuantumOpticsBase = "0.4.18"
Random = "1"
SIMD = "3.4.0"
SumTypes = "0.4.4, 0.5"
SumTypes = "0.5"
julia = "1.9"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
<tr>
<td>Continuous integration</td>
<td>
<a href="https://github.com/QuantumSavory/QuantumClifford.jl/actions?query=workflow%3ACI+branch%3Amaster"><img src="https://img.shields.io/github/actions/workflow/status/QuantumSavory/QuantumClifford.jl/ci.yml?branch=master" alt="GitHub Workflow Status"></a>
<a href="https://github.com/QuantumSavory/QuantumClifford.jl/actions?query=workflow%3ACI+branch%3Amaster"><img src="https://github.com/QuantumSavory/QuantumClifford.jl/actions/workflows/ci.yml/badge.svg" alt="GitHub Workflow Status"></a>
<a href="https://buildkite.com/quantumsavory/quantumclifford"><img src="https://badge.buildkite.com/8ef137151415f29c03544c5b7963f6bc6afc1022f29cfc072a.svg" alt="Buildkite Workflow Status"></a>
</td>
</tr><tr></tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion src/randoms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ end

function nemo_inv(a, n)::Matrix{UInt8}
binaryring = Nemo.residue_ring(Nemo.ZZ, 2) # TODO should I use GF(2) instead of ResidueRing(ZZ, 2)?
M = Nemo.MatrixSpace(binaryring, n, n)
M = Nemo.matrix_space(binaryring, n, n)
inverted = inv(M(Matrix{Int}(a))) # Nemo is very picky about input data types
return (x->mod(UInt8(x.data),0x2)).(inverted)
end
Expand Down

0 comments on commit 040b0f7

Please sign in to comment.