tensorcircuit
tensorcircuit copied to clipboard
Tensor network based quantum software framework for the NISQ era
## API design number after indicates priority: 3 is high and 1 is low - [ ] ``__init__``: allow quvector form mps input? (2) - [x] ``__init__``: allow array form...
I found that I need to import torch first to use it as backend. Otherwise there will be an import error. If I first import torch: ```python >>> import torch...
- The current implementation for converting a Qiskit circuit to a Tensorcircuit circuit does not allow Qiskit's circuit to involve gates with multiple parameters or use NumPy's ufunc. `sympy.lambdify` can...
## Issue Description I am trying to sample from a 14 qubit circuit and I am getting a weird bitstring `Array([0.5, nan, nan, nan, nan, nan, nan, nan, nan, nan,...
## Issue Description When I'm using tensorflow as backend and construct MPSCircuit, I use jit for compilation. But it seems that JIT is not working and it has warning like...
`copy` operation of DM circuit forgets previous `apply_general_kraus` operations. ``` n = 1 c = tc.DMCircuit(n) c.h(0) P0 = np.array([[1.0, 0.0], [0.0, 0.0]]) P1 = np.array([[0.0, 0.0], [0.0, 1.0]]) c.apply_general_kraus([P0,...
I'm using tensorflow as backend and trying to jit compile a circuit with any_gates where thire unitaries are parameters of the jit function. However, any_gate needs unitary with dtype complex128...
## Issue Description In some cases, we would like a sparse matrix as circuit input. Right now, this seems impossible because of type conversion. For example, DMCircuit does this: ```python...
# TEP - Stabilizer simulator Author @refraction-ray Status Draft Created 2023-07-07 ## Abstract ## Motivation and Scope Ultimately, it is good to have a clifford simulator in tc, but there...