Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/qokit-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipreqs black==24.10.0 addheader pytest-cov pip-licenses types-pkg-resources==0.1.3
pip install pipreqs black==24.10.0 addheader pytest-cov pip-licenses types-pkg-resources==0.1.3 quimb

- name: black check
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qokit-python-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipreqs black==24.10.0 addheader pytest-cov pip-licenses types-pkg-resources==0.1.3
pip install pipreqs black==24.10.0 addheader pytest-cov pip-licenses types-pkg-resources==0.1.3 quimb
- name: black check
run: |
black --check .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qokit-python-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipreqs black==24.10.0 addheader pytest-cov pip-licenses types-pkg-resources==0.1.3
pip install pipreqs black==24.10.0 addheader pytest-cov pip-licenses types-pkg-resources==0.1.3 quimb
- name: black check
run: |
black --check .
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ xorsat-gpu = [
'jax[cuda12]'
]
xorsat-optimize = [
'py-bobyqa',
'Py-BOBYQA',
'scipy>=1.10.1'
]

Expand Down
2 changes: 1 addition & 1 deletion tests/test_qaoa_objective_maxcut.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def test_maxcut_precompute(simclass):
def test_sk_ini_maxcut(simulator):
N = 10
for d, max_p in [(3, 5), (5, 5)]:
G = nx.random_regular_graph(d, N)
G = nx.random_regular_graph(d, N, seed=42)
obj = partial(maxcut_obj, w=get_adjacency_matrix(G))
optimal_cut, x = brute_force(obj, N, function_takes="bits")
precomputed_energies = precompute_energies(obj, N)
Expand Down
Loading