Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
72750f8
Python interface for Sinter API
draganaurosgrbic Aug 10, 2025
75068c9
Minor
draganaurosgrbic Aug 10, 2025
1f34dd9
Minor change
draganaurosgrbic Aug 11, 2025
0dd64ba
Merge branch 'main' into sinter-interface
draganaurosgrbic Aug 11, 2025
1807fc1
Merge branch 'main' into sinter-interface
draganaurosgrbic Aug 11, 2025
655fccd
Merge branch 'main' into sinter-interface
draganaurosgrbic Aug 11, 2025
d4ab871
Test integration with Sinter, include Sinter API inside tesseract lib…
draganaurosgrbic Aug 11, 2025
afa98e2
Merge branch 'main' into sinter-interface
draganaurosgrbic Aug 12, 2025
aac74b9
Merge branch 'main' into sinter-interface
draganaurosgrbic Aug 12, 2025
f2285e4
Merge branch 'main' into sinter-interface
draganaurosgrbic Aug 12, 2025
9c4a6f1
Make sinter decoder pickable
draganaurosgrbic Aug 12, 2025
e88f9c7
Documentation for Sinter integration
draganaurosgrbic Aug 12, 2025
3b8f406
Merge branch 'main' into sinter-interface
draganaurosgrbic Aug 13, 2025
839d4a9
Add Oscar's test
draganaurosgrbic Aug 13, 2025
4449c43
Remove print statements inside sinter test
draganaurosgrbic Aug 13, 2025
cd395c9
Add custom decoders dict
draganaurosgrbic Aug 13, 2025
f37f370
Update sinter tests with custom detectors dict
draganaurosgrbic Aug 13, 2025
1c9f5aa
Another sinter test
draganaurosgrbic Aug 13, 2025
fe8a486
Minor change
draganaurosgrbic Aug 13, 2025
bc8c691
Merge branch 'main' into sinter-interface
draganaurosgrbic Aug 13, 2025
cbf8942
format and unpack observables in test
oscarhiggott Aug 14, 2025
524fd50
Merge branch 'main' into sinter-interface
draganaurosgrbic Aug 14, 2025
b078bb4
Make DEM optional argument when contructing config and compiling dete…
draganaurosgrbic Aug 14, 2025
8522389
Merge branch 'sinter-interface' of https://github.com/quantumlib/tess…
draganaurosgrbic Aug 14, 2025
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
2 changes: 1 addition & 1 deletion src/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ pybind_library(
"simplex.pybind.h",
"visualization.pybind.h",
"tesseract.pybind.h",
"tesseract_sinter_compat.pybind.h",
],
deps = [
":libcommon",
Expand All @@ -91,7 +92,6 @@ pybind_extension(
],
)


py_library(
name="lib_tesseract_decoder",
imports=["src"],
Expand Down
12 changes: 12 additions & 0 deletions src/py/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,18 @@ py_test(
":shared_decoding_tests",
],
)
py_test(
name = "tesseract_sinter_compat_test",
srcs = ["tesseract_sinter_compat_test.py"],
visibility = ["//:__subpackages__"],
deps = [
"@pypi//pytest",
"@pypi//stim",
"@pypi//sinter",
"//src:lib_tesseract_decoder",
],
)


compile_pip_requirements(
name = "requirements",
Expand Down
1 change: 1 addition & 0 deletions src/py/requirements.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
stim
pytest
sinter
478 changes: 475 additions & 3 deletions src/py/requirements_lock.txt

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions src/py/shared_decoding_tests.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest
import numpy as np
import stim
Expand Down
Loading
Loading