Pedro Rivero

Results 35 comments of Pedro Rivero

Any updates here? 3DS has already been discontinued...

I don't think that would work @blakejohnson . Some of the primitives (if not all) currently hold a list of circuits that they can use to run "experiments". That means...

Any updates on this? Should we move forward or close?

I have already excluded `bytes` from the possible types (@t-imamichi was correct, `str` was not enough). I don't think that this type check is comprehensive though (surely better than no...

@t-imamichi @ikkoham > I think there are two ideas in this PR: one is to avoid parameter_binding if no parameter and the other is the lru_cache of the parameter binding....

> The size of Statevector scales exponentially, so we cannot make 100 qubits Statevector like random_circuit(num_qubits=100, depth=30). Fair point, it was just to estimate a memory allocation reference. `random_circuit(num_qubits=25, depth=120)`...

> By caching, we can't free up resources beyond the pointer, so we end up caching huge data, is this correct? ~I think this might be correct, yes. At least...

@ikkoham there are ways of clearing the cache. I would have to work out a solution for it though, I am not sure if that is something that we need...

> Why do you want to cache at the class level? I feel like instance level is fine. The cache is stored at instance level, but its size declared at...

@t-imamichi thanks for the PR! I will look at #8403 and combine any extra logic 🙂 @ikkoham caching expectation values would spoil the arbitrary increase in speed, since the cache...