Skip to content

Commit

Permalink
Fix missing kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlevy committed Jul 3, 2024
1 parent bf1f824 commit 1625177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elementary_operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ end

function identity_operator(s::IndsNetworkMap; kwargs...)
operator_inds = ITensorNetworks.union_all_inds(indsnetwork(s), prime(indsnetwork(s)))
return ITensorNetwork(Op("I"), operator_inds)
return ITensorNetwork(Op("I"), operator_inds; kwargs...)
end

" Create an operator bitstring corresponding to the number x"
Expand Down

0 comments on commit 1625177

Please sign in to comment.