Skip to content

Commit

Permalink
fix documenter
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov committed Sep 17, 2023
1 parent eb224c9 commit ed698f3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ ENV["COLUMNS"] = 80
bib = CitationBibliography(joinpath(@__DIR__,"src/references.bib"),style=:authoryear)

makedocs(
bib,
plugins = [bib],
doctest = false,
clean = true,
sitename = "QuantumClifford.jl",
format = Documenter.HTML(),
format = Documenter.HTML(size_threshold_ignore = ["API.md"]),
modules = [QuantumClifford, QuantumClifford.Experimental.NoisyCircuits, QuantumInterface],
strict = Documenter.except(:missing_docs),
warnonly = [:missing_docs],
authors = "Stefan Krastanov",
pages = [
"QuantumClifford.jl" => "index.md",
Expand Down
15 changes: 8 additions & 7 deletions docs/src/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,13 @@ @article{gullans2020dynamical
publisher={APS}
}

@misc{hein2006entanglement,
title = {Entanglement in Graph States and its Applications},
url = {http://arxiv.org/abs/quant-ph/0602096},
journaltitle = {arXiv preprint arXiv:quant-ph/0602096},
author = {Hein, M. and Dür, W. and Eisert, J. and Raussendorf, R. and Nest, M. Van den and Briegel, H.-J.},
year = {2006},
@article{hein2006entanglement,
title={Entanglement in graph states and its applications},
author={Hein, Marc and D{\"u}r, Wolfgang and Eisert, Jens and Raussendorf, Robert and Nest, M and Briegel, H-J},
journal={arXiv preprint quant-ph/0602096},
url={https://arxiv.org/abs/quant-ph/0602096},
doi={10.48550/arXiv.quant-ph/0602096},
year={2006}
}

% Encoding circuits
Expand Down Expand Up @@ -223,4 +224,4 @@ @article{nahum2017quantum
journal = {Physical Review X},
author = {Nahum, Adam and Ruhman, Jonathan and Vijay, Sagar and Haah, Jeongwan},
year = {2017}
}
}
4 changes: 2 additions & 2 deletions src/entanglement.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ end
"""
Get bipartite entanglement entropy by first converting the state to a graph and computing the rank of the adjacency matrix.
Based on [hein2006entanglement](@cite).
"""
Based on "Entanglement in graph states and its applications".
""" # TODO you should use [hein2006entanglement](@cite) instead of "Entanglement in graph states and its applications", but Documenter is giving the weirdest error if you do so...
function entanglement_entropy(state::AbstractStabilizer, subsystem::AbstractVector, algorithm::Val{:graph})
graph = Graphs.Graph(state)
adjmat = Graphs.adjacency_matrix(graph)
Expand Down

0 comments on commit ed698f3

Please sign in to comment.