[refactor]: Use static methods from Guppy v1.1 to simplify Steane primitive tests
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- testing-qa
Research direction
Start with the LogicalBlock implementation and tests/code/steane/test_steane_primitives.py. Read the existing array-based initialization and the Guppy v1.1 static-method usage, then run the Steane primitive tests. Done means LogicalBlock.take_from_array borrows qubits from an array and the tests use it without the existing boilerplate.
Written by the indexing model from the issue text.
Description
Description
Add a LogicalBlock.take_from_array function that borrows qubits from an array to initialise a LogicalBlock, and use it to remove the boilerplate from tests/code/steane/test_steane_primitives.py.
Motivation
No response
Scope
No response
Component
No response
Priority
None
Additional Context
No response
- Dominant language
- Python
- Stars
- 5
- Forks
- 1
- Avg merge
- 21h 45m
- Merged PRs (30d)
- 99
Contributor guide
No contributing guide indexed for this repository
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.
More from Quantinuum/guppyft
-
A-encoder C-feature-accepted
Quantinuum/guppyft#388 · 1 assignee ·
-
C-feature-request S-needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Quantinuum/guppyft#384 ·
-
A-documentation S-needs-triage
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Quantinuum/guppyft#379 ·
-
C-maintenance S-needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Quantinuum/guppyft#378 ·
-
S-needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Quantinuum/guppyft#364 · 1 comment ·
All issues in Quantinuum/guppyft
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100