Code Monkey home page Code Monkey logo

Comments (8)

chriseclectic avatar chriseclectic commented on July 19, 2024

I think it is going outside the intent of composite experiments. Composite experiments are intended for batching experiments together in a single execution.

If you want to do analysis of data from multiple experiments such as Q3 T1 from a single experiment, and Q3 T1 from a parallel experiment you should probably manually combine the relevant experiment data objects after the separate experiments have been run and then re-run run analysis on the joint data (im not sure if this combining of experiment data is implemented yet though).

from qiskit-experiments.

yaelbh avatar yaelbh commented on July 19, 2024

Need to define a policy, what are the constraints when the experiment_data parameter of run is not None, with an exception when one of the constraints is violated.

from qiskit-experiments.

merav-aharoni avatar merav-aharoni commented on July 19, 2024

In this issue, do we want to address CompositeExperiment or regular Experiment when their parameter ExperimentData is not None? or both cases?

from qiskit-experiments.

yaelbh avatar yaelbh commented on July 19, 2024

I think BaseExperiment, which includes also CompositeExperiment

from qiskit-experiments.

merav-aharoni avatar merav-aharoni commented on July 19, 2024

I'll start a list here of properties we would like to check:
For composite experiments, need to check the following:

  • Same experiment type (already checked in ExperimentBase)
  • Same physical qubit(s) (already checked in ExperimentBase)
  • Same p0 for analysis_options (if not None)

For parallel experiments, need to check the following:

  • Experiments on different qubits
  • Do we want to raise a warning for experiments on adjacent qubits (depending on the device)?

Feel free to add additional items we should check.

from qiskit-experiments.

eliarbel avatar eliarbel commented on July 19, 2024

General comment: currently we have a handful of implemented experiments. When that list grows, maintaining the checking logic of composite and parallel experiments can become complex and burdening, as there might be unique compositing constraints for certain experiments and not the others, contradicting constraints and other complications hard to predict now.

So I think we should decide which approach we are taking at this stage:

  1. Performing vary basic checks - those which are generic and experiment oblivious and are common to all experiments
  2. Develop a mechanism by which each experiment exposes its compositing constrains, and the framework classes handle those generically and yield a warning/error if constraints are violated.

I think at this stage we should go with the simple approach (#1), and support just the bare minimum checks for proper compositing.

from qiskit-experiments.

yaelbh avatar yaelbh commented on July 19, 2024

@merav-aharoni @eliarbel Can we close this issue?

from qiskit-experiments.

merav-aharoni avatar merav-aharoni commented on July 19, 2024

@yaelbh , In my opinion, we can close the issue. It makes more sense to me to provide checks per development item, as needed.

from qiskit-experiments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.