Jij-Inc / Qamomile

7 stars 1 forks source link

Cannnot run example code in Readme #75

Closed Jacomichi closed 1 month ago

Jacomichi commented 1 month ago

Description

The code in Readme below

from qamomile.core.qaoa import QAOAConverter

provides the error

ModuleNotFoundError: No module named 'qamomile.core.qaoa'

How to fix

The code should be

from qamomile.core.converters.qaoa import QAOAConverter
Jacomichi commented 1 month ago

I also found

import jijmodeling_transpiler as jmt

provides error.

It should be

import jijmodeling_transpiler.core as jmt
Jacomichi commented 1 month ago

This is fixed by #84