Skip to content

Commit 2594663

Browse files
committed
add lib pytest corrections
1 parent da82ce5 commit 2594663

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

c3/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import tensorflow as tf
88
import c3.utils.tf_utils as tf_utils
99
import c3.utils.qt_utils as qt_utils
10-
from c3.system.chip import device_lib, Drive
10+
from c3.libraries.chip import device_lib, Drive
1111
from typing import List, Tuple
1212

1313

test/test_model.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import pytest
66
import numpy as np
77
from c3.c3objs import Quantity
8-
from c3.system.chip import Qubit, Coupling, Drive
9-
from c3.system.tasks import InitialiseGround, ConfusionMatrix
8+
from c3.libraries.chip import Qubit, Coupling, Drive
9+
from c3.libraries.tasks import InitialiseGround, ConfusionMatrix
1010
from c3.model import Model
1111
import c3.libraries.hamiltonians as hamiltonians
1212
from c3.parametermap import ParameterMap

test/test_noise.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
# Building blocks
1414
import c3.generator.devices as devices
15-
import c3.system.chip as chip
15+
import c3.libraries.chip as chip
1616
import c3.signal.pulse as pulse
1717
import c3.signal.gates as gates
1818

test/test_two_qubits.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
from c3.c3objs import Quantity as Qty
1313
from c3.parametermap import ParameterMap as Pmap
1414
from c3.experiment import Experiment as Exp
15-
from c3.system.model import Model as Mdl
15+
from c3.model import Model as Mdl
1616
from c3.generator.generator import Generator as Gnr
1717

1818
# Building blocks
1919
import c3.generator.devices as devices
20-
import c3.system.chip as chip
20+
import c3.libraries.chip as chip
2121
import c3.signal.pulse as pulse
2222
import c3.signal.gates as gates
23-
import c3.system.tasks as tasks
23+
import c3.libraries.tasks as tasks
2424

2525
# Libs and helpers
2626
import c3.libraries.algorithms as algorithms

0 commit comments

Comments
 (0)