issues Search Results · repo:eclipse-qrisp/Qrisp language:Python
Filter by
89 results
(52 ms)89 results
ineclipse-qrisp/Qrisp (press backspace or delete to remove)While implementing LCU, the following Exception was raised/observed:
Exception: jdecoder for type class qrisp.core.quantum_variable.QuantumVariable not implemented
One can replicate this by running the ...
MatP1337
- 1
- Opened yesterday
- #159
from qrisp import *
def state_function(qf):
h(qf)
def quantum_step(qargs, state_function):
def init_function():
qargs_ = [qv.duplicate() for qv in qargs]
return qargs_
def ...
renezander90
- 2
- Opened 4 days ago
- #157
from qrisp import *
def f(qf):
return qf*qf
@jaspify
def main():
qf = QuantumFloat(2)
x(qf)
res = f(qf)
return measure(res)
main()
This does not terminate.
renezander90
- 1
- Opened 5 days ago
- #156
from qrisp import *
from qrisp.operators import X,Y,Z
from qrisp.vqe.vqe_problem import *
c = [-0.81054, 0.16614, 0.16892, 0.17218, -0.22573, 0.12091, 0.166145, 0.04523]
H = c[0] \
+ c[1]*Z(0)*Z(2) ...
renezander90
- Opened 10 days ago
- #153
from qrisp import *
import jax.numpy as jnp
from jax.lax import fori_loop
@jaspify
def main():
def body_fun(k, state):
qv = QuantumFloat(2)
qv.delete()
return ...
renezander90
- 2
- Opened 25 days ago
- #145
from qrisp import *
import jax.numpy as jnp
from jax import random
from jax.lax import fori_loop
@jaspify # Works without @jaspify
def main():
params = jnp.array([1.5, -0.5])
rng = random.PRNGKey(4) ...
renezander90
- 3
- Opened 25 days ago
- #144
from qrisp import *
def AND(a, b):
res = QuantumBool()
mcx([a, b], res)
return res
@jaspify
def main():
a = QuantumBool()
b = QuantumBool()
tar = QuantumBool()
(tar AND)(a,b) ...
renezander90
- 1
- Opened 27 days ago
- #142
from qrisp import *
def prep(k):
qf = QuantumFloat(k)
h(qf)
return qf
@jaspify
def test():
def cond_fun(state):
index, sum = state
return index 5
def body_fun(state): ...
renezander90
- 1
- Opened on Feb 21
- #140
from qrisp import *
qv = QuantumVariable(18)
h(qv)
qv.get_measurement()
Yields: ZeroDivisionError: division by zero
It works up to 17 Qubits or if the number of shots are specified.
renezander90
- 4
- Opened on Feb 19
- #139
from pyscf import gto
from qrisp.operators import FermionicOperator
mol = gto.M(atom = Li 0.0000 0.0000 0.0000; H 1.595 0.0000 0.0000 , basis = sto-3g ) # DOES NOT WORK ...
renezander90
- 1
- Opened on Feb 15
- #138

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.