Skip to content

Commit 63fd922

Browse files
committed
move use to export; fix doc
- @ref needs to reference to some docstring already rendered in the menu
1 parent edcf9d0 commit 63fd922

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

docs/src/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ See the [full list of operations](@ref all-operations) for a list of implemented
3131
## Autogenerated API list
3232

3333
```@autodocs
34-
Modules = [QuantumClifford]
34+
Modules = [QuantumClifford, QuantumClifford.GraphSim]
3535
Private = false
3636
```
3737

src/QuantumClifford.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@ include("useful_states.jl")
14521452
include("experimental/Experimental.jl")
14531453
#
14541454
include("./graphs/graphs.jl")
1455-
using .GraphSim: graphstate, graphstate!, graph_gatesequence, graph_gate
1455+
using .GraphSim
14561456
#
14571457
include("entanglement.jl")
14581458
#

src/graphs/graphs.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
module GraphSim
22

3+
export graphstate, graphstate!, graph_gatesequence, graph_gate
4+
35
import Graphs: Graphs, nv, AbstractGraph
4-
using QuantumClifford
5-
using QuantumClifford: AbstractStabilizer
6+
using QuantumClifford: AbstractStabilizer, AbstractSingleQubitOperator,
7+
sId1, sInvPhase, sSQRTX, CliffordOperator, SingleQubitOperator,
8+
Stabilizer, sZ, sPhase, sX, sY, sHadamard, sInvSQRTX, @S_str, stabilizerview,
9+
canonicalize_gott!, phases, sCPHASE, affectedqubits, canonicalize!, tab
610
import QuantumClifford: nqubits, apply!
711

812
include("single_qubit_tables.jl")

0 commit comments

Comments
 (0)