João P. Moutinho

Results 41 comments of João P. Moutinho

As discussed with @dominikandreasseitz this requires a bit of a rethinking of how the `QuantumModel` is implemented in Qadence. Changing the `QuantumModel` from a `torch.nn.Module` could also cause compatibility issues...

@Roland-djee @dominikandreasseitz I would say this is not a priority for the current QuantumModel

The goal here is to have a flexible way for the user to specify how a given RX/RY/RZ angle is converted into the drive Hamiltonian, instead of using the currently...

Yeah, maybe, I'm not sure. I played a bit with some changes in the current qadence device MR but that one is already huge. We will have to think a...

This would essentially imply running a symbolic block_to_tensor, computing the kronecker product of all the symbolic matrices to get the larger matrix. Assuming this could be done somewhat efficiently and...

Closing after moving to PyQTorch: https://github.com/pasqal-io/pyqtorch/issues/176

I would work on this once the structure / purpose of the analog blocks is bit cleaner. Alternatively it can be something for @vytautas-a once he has some time from...

Code snippet to save for later: ``` from qadence import * from qadence.blocks import MatrixBlock import torch op_support = (0, 2) lookup_support = (2, 0) # An example operation op_block...

Thanks @EthanObadia. Do you need `MatrixBlock`? This is another pandora's box to be opened...