JustinS

Results 33 comments of JustinS

I tried using a modified version of one of the quimb examples: ``` import quimb as qu import quimb.tensor as qtn from quimb.tensor.optimize import TNOptimizer def single_qubit_layer(circ, gate_round=None): """Apply a...

Thank you very much for getting back to me about that. I tried that code in the toy example and it worked, but in my main program, I got the...

Sorry about that. I added the two lines that you suggested, but I got a different error: ``` Traceback (most recent call last): File "/home/justin/darthmallocsarchive-svn/trunk/DissertationExperiment/TensorNetworkRL/MERA_Frozen_Lake.py", line 383, in timestep_reward, iter_dex,...

Thanks for getting back to me so soon. I ran the bazel build using the command ``` bazel build -c opt --python_version=PY3 //python/pip_package:build_pip_package ``` Is there something else for me...

It seems to be working now, thanks for your help!

This is not quite a minimal repro script, but it illustrates the issue: ``` import time import os import copy from copy import deepcopy # PyTorch import torch import torch.nn...

> > I was wondering, would it be possible to post some examples of reinforcement learning with torchquantum? That particular area of application isn't represented in the current examples. >...

> > > > I was wondering, would it be possible to post some examples of reinforcement learning with torchquantum? That particular area of application isn't represented in the current...

Thanks, I think that partly explains the issue that I am having. Basically what's happening is that the parameters of the QuantumModule that I have written are not getting updated...

Thanks for getting back to me so soon! Basically, if the example above was having the same problem that I have seen with my model, the `print(ops.params.grad)` line at the...