Matt Fishman

Results 496 comments of Matt Fishman

Also relevant docs: https://docs.julialang.org/en/v1/base/io-network/#Base.IOContext-Tuple{IO,%20Pair}

Thanks for the response. I think I see what you are saying, but my issue with the code example above wasn't with the `keytype`, but instead my concern was that...

Yes, I think the surprise of the behavior above outweighs the performance gain from not copying the indices (the current behavior led to a bug that took me a while...

I would love to have this, I have an immediate use case and have started designing a simplistic multi-dimensional dictionary type as an AbstractDictionary subtype, with the multidimensional indexing syntax...

@andyferris my main concern here is defining the generic version of copy as: ```julia function Base.copy(d::AbstractDictionary, ::Type{T}) where {T} out = similar(copy(keys(d)), T) copyto!(out, d) return out end ``` instead...

Ok, thanks. Glad to know it's not just me doing something silly. Unfortunately that doesn't seem to help. When I run: ```julia using Fermi @molecule { H 0.0 0.0 0.0...

Looks like `cc-pvdz` works with our without DIIS.

Ok, that's seems to work: ```julia using Fermi @molecule { H 0.0 0.0 0.0 H 0.76 0.0 0.0 } @set basis sto-3g @set diis false @set oda false wfn =...

Would the operation involve projecting an MPS onto a series of product states?

Yeah. A slightly more sophisticated method beyond exactly splitting the circuit in half would be to do something like apply one gate at a time, and switch which state you...