feat(Computability): quantum computing foundations
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- quantum-computing
Research direction
Start by reading the existing definitions under Cslib/Computability/, especially the automata, Turing machine, and URM entries, then inspect the proposed Cslib/Computability/Quantum/ namespace. Define quantum registers, pure states, and unitary gates so they together express the quantum circuit model; done means the foundational definitions are added and consistent with the library’s existing style.
Written by the indexing model from the issue text.
Description
Motivation
The CSLib whitepaper lists quantum computation as an in-scope model of computation, but CSLib currently has no quantum computing definitions. The Computability/ directory covers automata, Turing machines, and URMs — quantum computing is a natural next entry.
Proposal
Add foundational definitions for the quantum circuit model under Cslib/Computability/Quantum/:
- Quantum registers — finite-dimensional basis type (qubits as the standard case)
- Pure states — unit vectors in a complex Hilbert space over a register
- Unitary gates — norm-preserving operators that evolve quantum states
Together these define the quantum circuit model — the standard framework for describing quantum algorithms.
- Dominant language
- Lean
- Stars
- 862
- Forks
- 242
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 55
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from leanprover/cslib
-
`listFullBeta_cons_r` should rename to `listFullBeta_concat_r`Possibly taken @lengyijun claimed this 146 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
leanprover/cslib#784 ·
Maintainers usually reply within 1 day
-
logic
Difficulty 1/5 Under an hour Newbie friendliness 72/100
leanprover/cslib#74 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
leanprover/cslib#1319 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
leanprover/cslib#1314 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
leanprover/cslib#1309 ·
Maintainers usually reply within 1 day
All issues in leanprover/cslib
Similar issues
-
bug :bug:
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
PennyLaneAI/pennylane#10658 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Quantinuum/guppyalgos#233 ·
Maintainers usually reply within 2 days
-
PhaseFitEstimator cannot fit the signal from its own reduced sampling gridPossibly taken @madcpf claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
quantumlib/OpenFermion#1479 ·
-
execute_with_cdr returns 0.0 with a noiseless executor when every training circuit gives one valueOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
unitaryfoundation/mitiq#3207 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100