Skip to content

Incomplete Installation Instruction and Dependency List #548

@eul94458

Description

@eul94458

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions