Vladimir Vargas-Calderón

Results 63 comments of Vladimir Vargas-Calderón

For the moment, I hard coded weight into value. The following can be inserted into the `from_nx` method: ```python def nx2pyvis(nx_graph, pyvisnet, default_node_size=1, default_edge_weight=1): """ Converts a NetworkX graph into...

@jhunpingco isn't this already handled by @boludo00 commit 4c8071f?

@PhilipVinc the example that I currently have is rather complicated, and it might take a lot of samples to hit the actual error. This is my current workflow (with no...

Yeah... just doing something like `jnp.random.choice(key, max_number_of_operators, (batch_size,))`... Ok I'll do this!

@PhilipVinc I have removed the pick random and init stuff and now I'm just using the numpy's random generator to generate random integers.

Even if it is tiny, it's something that gets repeated many many times... So yeah, I'll probably go back to the previous implementation with the trick to avoid the bug....

Ok so I went back to the previous code... However, I'm noticing that the test was wrong. I should check that p is greater than 0.05 or 0.01, because if...

Sure! Will do this tomorrow.

@PhilipVinc before documenting and testing things, is this function ok? Is `binary_encoding` going to be jit compiled? Because if it is, I think we should have a separate way of...

> I'm not sure I follow entirely the logic behind _get_output_idx. Also, this will only work with Fock spaces right? It won't work for Spin as it's written now? It...