Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete Installation Instruction and Dependency List #548

Open
eul94458 opened this issue Jul 13, 2022 · 0 comments
Open

Incomplete Installation Instruction and Dependency List #548

eul94458 opened this issue Jul 13, 2022 · 0 comments

Comments

@eul94458
Copy link

Attempted several tries in installation then I gave up. Too many unsolvable errors.
Then I went to check the docker solution to see if this is working.
And yes, not even working on docker.
Dependencies are not installed in the docker image.
Not even able to do an error free import and to run vqe.

    import xacc

[errors]

    # Get access to the desired QPU and
    # allocate some qubits to run on
    qpu = xacc.getAccelerator('tnqvm')
    buffer = xacc.qalloc(2)
    
    # Construct the Hamiltonian as an XACC-VQE PauliOperator
    ham = xacc.getObservable('pauli', '5.907 - 2.1433 X0X1 - 2.1433 Y0Y1 + .21829 Z0 - 6.125 Z1')
    
    xacc.qasm('''.compiler xasm
    .circuit ansatz2
    .parameters t0
    .qbit q
    X(q[0]);
    Ry(q[1],t0);
    CX(q[1],q[0]);
    ''')

[errors]

@eul94458 eul94458 changed the title Incomplete Installation Intruction and Dependency List Incomplete Installation Instruction and Dependency List Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant