Device.get_isa fails without a clear error when specs are not provided
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 358
- Avg merge
- 1d 58m
- Merged PRs (30d)
- 4
Description
Issue Description
Device.get_isa tries to read out fROs and f1QRBs from the underlying specs, but this fails if the raw dict provided to Device.__init__ does not include specs. I think at the very least this should provide a nicer error message, or perhaps to actually use the defaults in this case.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Device.get_isa and Device.init, focusing on how a raw dictionary without specs is handled before fROs and f1QRBs are read. Reproduce the failure with missing specs, then clarify whether the intended result is a helpful error or use of defaults; done means the chosen behavior is explicit and covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- quantum-computing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100