qilimanjaro-tech/qililab

[BUG]

Closed this issue · 2 comments

Expected behavior

playing

import os
import numpy as np
import qililab as ql
from qibo.models import Circuit
from qibo.gates import M


ql.logger.setLevel(40)

platform_name = "/home/victor/test/cluster_oscilloscope.yml"


platform = ql.build_platform(path=platform_name)

platform.connect()
platform.turn_on_instruments()
platform.initial_setup()

# Define circuit used in this experiment
circuit = Circuit(1)
circuit.add(M(0))

results = []
total = 0
niters = 1
num_bins = 1
for _ in range(niters):
# platform.set_parameter(parameter=Parameter.ACTIVE_RESET, value=True, alias="platform")
    result = platform.execute(program=circuit, num_avg=1, repetition_duration=200_000, num_bins=num_bins)

through an oscilloscope connected to O1 of qcm (channel 1) and O2 qrm we see 2 spikes from the qcm at about 2.1s (2nd image), 1s (3rd image) before the M pulse is played
SDS00004

SDS00005

SDS00006

Actual behavior

No response

Additional information

No response

Source code

No response

Tracebacks

No response

Existing GitHub issues

  • I have searched existing GitHub issues to make sure the issue does not already exist.

this happens during platform.connect()
it also happens during cluster.reset() which is run during platform.connect()

Setting reset to false solves this issue