Skip to content

Commit 08b6a25

Browse files
⬆️🐍 Lock file maintenance (#603)
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cda-tum/mqt-qmap). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJweXRob24iXX0=--> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: burgholzer <burgholzer@me.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: burgholzer <burgholzer@me.com>
1 parent 2460d5a commit 08b6a25

File tree

8 files changed

+49
-48
lines changed

8 files changed

+49
-48
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ repos:
8686
- pytest
8787
- rustworkx
8888
- mqt.qcec
89-
- mqt.core>=3.0.0b4
89+
- mqt.core>=3.0.0b5
9090

9191
# Check for spelling
9292
- repo: https://github.com/crate-ci/typos

cmake/ExternalDependencies.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ endif()
4242
# cmake-format: off
4343
set(MQT_CORE_VERSION 3.0.0
4444
CACHE STRING "MQT Core version")
45-
set(MQT_CORE_REV "eaedadc689f13eabe8d504e23e0b038f0ddc49af"
45+
set(MQT_CORE_REV "c2701a0747781eeca43b71dec43ffb0531022a51"
4646
CACHE STRING "MQT Core identifier (tag, branch or commit hash)")
4747
set(MQT_CORE_REPO_OWNER "cda-tum"
4848
CACHE STRING "MQT Core repository owner (change when using a fork)")

include/hybridmap/HardwareQubits.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class HardwareQubits {
3737
protected:
3838
const NeutralAtomArchitecture* arch;
3939
qc::Permutation hwToCoordIdx;
40-
SymmetricMatrix<SwapDistance> swapDistances;
40+
qc::SymmetricMatrix<SwapDistance> swapDistances;
4141
std::map<HwQubit, HwQubits> nearbyQubits;
4242
qc::Permutation initialHwPos;
4343

@@ -104,7 +104,7 @@ class HardwareQubits {
104104
hwToCoordIdx.emplace(i, indices[i]);
105105
}
106106

107-
swapDistances = SymmetricMatrix(architecture.getNqubits(), -1);
107+
swapDistances = qc::SymmetricMatrix(architecture.getNqubits(), -1);
108108
}
109109
initNearbyQubits();
110110
initialHwPos = hwToCoordIdx;

include/hybridmap/NeutralAtomArchitecture.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class NeutralAtomArchitecture {
146146
Parameters parameters;
147147

148148
std::vector<Point> coordinates;
149-
SymmetricMatrix<SwapDistance> swapDistances;
149+
qc::SymmetricMatrix<SwapDistance> swapDistances;
150150
std::vector<std::set<CoordIndex>> nearbyCoordinates;
151151

152152
/**

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [
33
"scikit-build-core>=0.11.0",
44
"setuptools-scm>=8.1",
55
"pybind11>=2.13.6",
6-
"mqt.core>=3.0.0b4",
6+
"mqt.core>=3.0.0b5",
77
]
88
build-backend = "scikit_build_core.build"
99

@@ -43,7 +43,7 @@ classifiers = [
4343
]
4444
requires-python = ">=3.9"
4545
dependencies = [
46-
"mqt.core>=3.0.0b4",
46+
"mqt.core>=3.0.0b5",
4747
"qiskit[qasm3-import]>=1.0.0",
4848
"rustworkx[all]>=0.16.0",
4949
"importlib_resources>=5.0; python_version < '3.10'",
@@ -352,7 +352,7 @@ build = [
352352
"pybind11>=2.13.6",
353353
"scikit-build-core>=0.11.0",
354354
"setuptools-scm>=8.1",
355-
"mqt.core>=3.0.0b4",
355+
"mqt.core>=3.0.0b5",
356356
]
357357
docs = [
358358
"networkx>=3.2.1",

src/hybridmap/HardwareQubits.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
namespace na {
2323
void HardwareQubits::initTrivialSwapDistances() {
24-
swapDistances = SymmetricMatrix<SwapDistance>(arch->getNqubits());
24+
swapDistances = qc::SymmetricMatrix<SwapDistance>(arch->getNqubits());
2525
for (uint32_t i = 0; i < arch->getNqubits(); ++i) {
2626
for (uint32_t j = 0; j < i; ++j) {
2727
swapDistances(i, j) =
@@ -84,7 +84,7 @@ void HardwareQubits::computeSwapDistance(HwQubit q1, HwQubit q2) {
8484
void HardwareQubits::resetSwapDistances() {
8585
// TODO Improve to only reset the swap distances necessary (use a breadth
8686
// first search)
87-
swapDistances = SymmetricMatrix(arch->getNqubits(), -1);
87+
swapDistances = qc::SymmetricMatrix(arch->getNqubits(), -1);
8888
}
8989

9090
void HardwareQubits::move(HwQubit hwQubit, CoordIndex newCoord) {

src/hybridmap/NeutralAtomArchitecture.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ void NeutralAtomArchitecture::computeSwapDistances(qc::fp interactionRadius) {
157157
});
158158

159159
// compute swap distances
160-
this->swapDistances = SymmetricMatrix<SwapDistance>(this->getNpositions());
160+
this->swapDistances =
161+
qc::SymmetricMatrix<SwapDistance>(this->getNpositions());
161162

162163
for (uint32_t coordIndex1 = 0; coordIndex1 < this->getNpositions();
163164
coordIndex1++) {

uv.lock

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)