Exemple #1
0
def neg_half_exp(x):
    """
    helper for hadamard decomp.
    """
    return jnp.exp(-1j * pi * x / 2)
Exemple #2
0
def neg_half_exp(x):
    return jnp.exp(-1j * pi * x / 2)
Exemple #3
0
def exp(x):
    """
    helper for hadamard decomp.
    """
    return jnp.exp(1j * pi * x)
Exemple #4
0
def exp(x):
    return jnp.exp(1j * pi * x)