Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove _experimental flag #1282

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion qiskit_ibm_runtime/options/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ def _set_if_exists(name: str, _inputs: dict, _options: dict) -> None:
# Remove image
inputs.pop("image", None)

inputs["_experimental"] = True
inputs["version"] = OptionsV2._VERSION
_remove_dict_unset_values(inputs)

Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_ibm_primitives_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def test_run_unset_options(self, primitive):
inst = primitive(session=session)
inst.run(**get_primitive_inputs(inst))
inputs = session.run.call_args.kwargs["inputs"]
for fld in ["tasks", "_experimental"]:
for fld in ["tasks"]:
inputs.pop(fld, None)
expected = {"skip_transpilation": False, "execution": {"init_qubits": True}, "version": 2}
self.assertDictEqual(inputs, expected)
Expand Down
1 change: 0 additions & 1 deletion test/unit/test_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ def test_program_inputs(self, opt_cls):
}

inputs = opt_cls._get_program_inputs(asdict(opt))
inputs.pop("_experimental", None)
self.assertDictEqual(inputs, expected)
self.assertFalse(simulator, f"simulator not empty: {simulator}")

Expand Down
Loading