Skip to content

Commit

Permalink
Update src/TensorNetwork.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Sergio Sánchez Ramírez <[email protected]>
  • Loading branch information
starsfordummies and mofeing authored Aug 17, 2024
1 parent 5efbfb7 commit ccf1bbd
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/TensorNetwork.jl
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,17 @@ end
elseif set === :hyper
map(first, Iterators.filter(((_, v),) -> length(v) >= 3, tn.indexmap))
else
throw(ArgumentError("unknown query: set=$(set).
Possible options are:
:all, :open :inner :hyper :parallelto
For Quantum also :physical :virtual
"))
throw(ArgumentError("""
Unknown query: set=$(set)
Possible options are:
- :all (default)
- :open
- :inner
- :hyper
For `AbstractQuantum`, the following are also available:
- :physical
- :virtual
"""))
end
end

Expand Down

0 comments on commit ccf1bbd

Please sign in to comment.