Skip to content

It works but suddenly close after redenring GUI #1013

@dgks0n

Description

@dgks0n

Hi there~ I tried to make a sample with qiskit-metal version 0.1.5 with below steps.
I created simple python file name as helloworld.py with simple snippets:

from qiskit_metal import MetalGUI
from qiskit_metal import designs

design = designs.DesignPlanar()
design.overwrite_enabled = True

design.chips.main.size.size_x = '11mm'
design.chips.main.size.size_y = '9mm'

gui = MetalGUI(design)

Finally, I executed that python scripts by using command python helloworld.py, it works but immediately close GUI after that. I even cannot see the GUI and there is no error logs.

Strange thing is, it works as well with above code snippets with Jupyter notebook. I am wondering why?
How can I solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions