dwavesystems / dwavesystems/dwave-cloud-client

Use a hierarchical config format

Open
#426 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
63
Forks
44
Avg merge
13h 45m
Merged PRs (30d)
1

Description

We could switch from Python's config INI format to YAML (or JSON), enabling easy nesting of options.

For example:
```
client: qpu
solver:
num_active_qubits:
gt: 4000
topology:
type: pegasus
```

This would enable a partial update (`PATCH` with a diff), e.g:
```
solver:
topology:
type: chimera
```

Another possible syntax (closer to the current INI format, is [TOML](https://toml.io/)):
```
[defaults]
token = "..."

[qpu-chimera]
solver.topology.type = "chimera"

[dqm-nonbulk.solver]
name__regex = ".*(?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.