Skip to content

Commit

Permalink
Remove private functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov committed May 1, 2021
1 parent 962e707 commit 0076ae4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Quantikz.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export MultiControl, CNOT, CPHASE, SWAP, H, P, Id, U,
string2image,
circuit2image,
displaycircuit,
savecircuit, savetex
savecircuit

quantikzname = "tikzlibraryquantikz.code.tex"
quantikzfile = joinpath(artifact"quantikz", "quantikz-0.9.6", quantikzname)
Expand Down Expand Up @@ -479,6 +479,4 @@ function savetex(circuit,qubits,filename; kw...)
close(f)
end

savetex(circuit, filename; kw...) = savetex(circuit, circuitwidth(circuit), filename; kw...)

end

0 comments on commit 0076ae4

Please sign in to comment.