Code Monkey home page Code Monkey logo

Comments (6)

yaelbh avatar yaelbh commented on August 18, 2024

The run options are completely determined by the parallel experiment. The run options of the sub-experiments are ignored.

from qiskit-experiments.

yaelbh avatar yaelbh commented on August 18, 2024

Options:

  1. Do nothing, with the rationale that users are supposed to know that what counts is the run options of the parallel experiment. This option may confuse users who explicitly set say the number of shots of the sub-experiments (say to an equal number in all the sub-experiments), and don't even know that another number of shots was eventually picked (you have to look deeply inside the experiment data, at the counts, to see that they don't sum up to what you expect; so, if the number of shots is different than what you think, you may not even know it).
  2. Raise a warning if run options of sub-experiments are different from the parallel experiment. This option, on the other hand, can be confusing to users who know that what counts is the parallel experiments, so will suffer from an over-triggering of warnings here.
  3. Some hybrid approach, like raising a warning if the run options of sub-experiments is different from the default and from the parallel experiment - I'm not fond of this one either because it's complex.

What do you think?

from qiskit-experiments.

yaelbh avatar yaelbh commented on August 18, 2024

Same story also for transpile options

from qiskit-experiments.

coruscating avatar coruscating commented on August 18, 2024

For 1st release: option 2 and document expected behavior

from qiskit-experiments.

coruscating avatar coruscating commented on August 18, 2024

User should also be warned if their run options are being overridden by the provider

from qiskit-experiments.

yaelbh avatar yaelbh commented on August 18, 2024

Done in #159

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.