polish docs, minor compact fixes, and add makefile
for automatic setup
#56
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses several minor improvements to documentation and testing:
Adds a
Makefile
to:make test
(without using the REPL).make format
.make docs.
We can skip the build, manifest in the docs folder as well by adding a
.gitignore
in docs.make format
can help catch syntax errors, such as in this line:CodingTheory/src/Convolutional/convolutional_code.jl
Line 200 in 924bdf3
I have changed this to
degree(C.G[r, c]) == C.vi[r] && (G_h[r, c] = 1)
Changed this
CodingTheory/src/LDPC/simulations.jl
Line 876 in 924bdf3
to
Changed
@warn
to!!! note
in product codes. The@warn
was causing issues in doctests by warnings errors during test execution. Replaced with!!! note
for cleaner documentation output.Error in PlanarSurfaceCode
I ran most of the misc quantum codes, it appears there is bug in planer surface code.
Edit: It occurs due to a metacheck in
setlogicals!
:_has_equivalent_row_spaces(vcat(S.logs_mat, S.stabs), vcat(L, S.stabs)) || error("The current logicals are not equivalent to the input.")
. In this case, the second output might be more revealing as it shows indexing error