Commit Graph

8578 Commits

Author SHA1 Message Date
Jake Lishman 99c0497052
Write module-level `qiskit.circuit` documentation (#11904)
* Write module-level `qiskit.circuit` documentation

I was pretty surprised to see that we had very little written for our
principal module, and the first entry in our API docs.

This is a totally new set of documentation for the `qiskit.circuit`
module, including discussion of what circuits are, what they represent
in Qiskit, how all the different data elements fit together, and where
to go for more information on things.

This commit is intended to be followed by a later one that does a
similar rewrite for the whole `QuantumCircuit` class, including
structuring its references to all its attributes and methods, and adding
a holistic view of how the methods fit together.  This is why there are
some (hidden to Sphinx) `TODO` comments scattered throughout this
documentation.

* Apply suggestions from Sebastian's review

Co-authored-by: Sebastian Brandhofer <148463728+sbrandhsn@users.noreply.github.com>

* Move larger classes to separate pages

This moves the larger class definitions (basically those that actually
have any public methods) to separate pages, at the request of the docs
team.  Much of this is intended to be temporary, and for most of these
classes to be moved back inline once the IBM docs platform can better
support that.

* Fix docs build with autosummary

* Switch "near time"/"runtime" terminology to "real time"

This avoids overloading "runtime" with too many meanings, and appears to
be more consistent with other messaging coming out of IBM Quantum.

* Remove misleading 'bitwise' terminology

---------

Co-authored-by: Sebastian Brandhofer <148463728+sbrandhsn@users.noreply.github.com>
2024-04-05 12:27:47 +00:00
Eric Arellano 2cbbe2bee2
Remove historical versions from release notes (#11855)
* Remove historical versions from release notes

* Bad version number

* Review feedback
2024-04-05 00:19:17 +00:00
Lev Bishop f96d112d6a
Use math and cmath instead of numpy on scalars (#12139)
* Use math and cmath instead of numpy on scalars

* Update based on review comments. Also a couple more in xx_decompose

* Update based on review comments.
2024-04-04 17:46:19 +00:00
Luciano Bello 59bdff9dcb
greating a challenging backend to show the doc point (#12116) 2024-04-04 16:14:06 +00:00
Paul Nation 03eb77ae0d
Remove hardcoded styling in plot_histogram (#8761)
* Remove hardcoded styling in plot_histogram

* black

* Add release note

* update ref images

* Update releasenotes/notes/histogram-style-03807965c3cc2e8a.yaml

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>

* Update qiskit/visualization/counts_visualization.py

---------

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
2024-04-04 16:09:15 +00:00
Elena Peña Tapia f76f6928dc
Fix `GenericBackendV2` duration tests (#12136)
* Round fallback values and adjust test to rounded values

* Remove duplicate key in test dict
2024-04-04 11:06:55 +00:00
Kevin Hartman d76e53a548
Migrate to PyO3 0.21's Bounds API (#12121)
* Update cargo version, pyo3 + numpy.

* Get Rust compiling with deprecated usage.

* Update to (|in)to_pyarray_bound.

* Eliminate other array warnings.:

* Disable gil-refs feature.

* Fixes for strings.

* Resolve qasm2 warnings.

* Resolve qasm3 warnings.

* Resolve _accelerate errors, pt. 1.

* Pt2.

* Use proper loop.

* Avoid extra bind in _legacy_format.
2024-04-03 16:59:28 +00:00
abbycross 7dd5cceed5
Change Block to Bloc for consistency (#12131) 2024-04-03 15:45:18 +00:00
Luciano Bello fd2efa8a6e
pending deprecations from 0.21 (#11902)
* deprecate pending deprecations

* reno

* capture DeprecationWarning

* capture warning in test.python.transpiler.legacy_scheduling.test_instruction_alignments

* Update releasenotes/notes/removed_deprecated_0.21-741d08a01a7ed527.yaml

Co-authored-by: Jake Lishman <jake@binhbar.com>

* spelling

---------

Co-authored-by: Jake Lishman <jake@binhbar.com>
2024-04-03 15:42:39 +00:00
Alexander Ivrii 8121aaef61
transpiler layout docs (#12090) 2024-04-03 09:33:45 +00:00
Jim Garrison a7866ecdc8
Remove a few more references to Qiskit Terra (#12122)
Most importantly, I've removed an outdated instruction to install
`qiskit-terra` via pip in order to import OpenQASM3 programs.
2024-04-03 02:33:12 +00:00
Jake Lishman bee2b95f6f
Remove Hamamura-san from maintainer lists (#12115)
With Hamamura-san having moved on from IBM now, this commit removes him
from being tagged/mentioned as a primary contact/reviewer for the
modules he'd previously been working in.  We're of course happy to keep
working together, just there's no expectation anymore!
2024-04-02 10:43:50 +00:00
Matthew Treinish 92d2857a4b
Deprecate Python 3.8 support (#12103)
This commit deprecates Python 3.8 support. During the deprecation window
we will continue to fully support Python 3.8 and test it in CI, but it
will emit a warning that we will be removing support for 3.8 in the future
to inform users to upgrade to Python 3.9 or newer. The removal will occur
during the Qiskit 1.3.0 release as it is the first release scheduled to
occur after the upstream Python EoL date in October 2024. [1]

On the development side once we create the stable/1.2 branch on the
1.2.0rc1 release, then we can drop Python 3.8 support and raise the
minimum Python version to 3.9 (including in CI).

[1] https://devguide.python.org/versions/
2024-04-01 20:46:06 +00:00
Shelly Garion 4f7b54a6e7
Update the code for decomposing MCX and MCPhase gates, so that the number of CX gates won't grow exponentially (#11993)
* change MCPhase gate definition

* change MCX gate definition

* add release notes

* add a comment

* add to mcx gate definition the cases of 3 and 4 controls

* update release notes following review comments

* add a test for mcx with few controls
2024-03-31 10:19:25 +00:00
Siddhant dea3c8af11
Added the ctrl_state param to the mcp() function & MCPhaseGate() class (#12094)
* Added MCP Ctrl_state parameter

* Added releasenotes

* Added tests for mcp() func with ctrl_state

* Fixed Linting

* Fixing Linting

* Update releasenotes/notes/add-ctrl_state-mcp-parameter-b23562aa7047665a.yaml

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>

* Update releasenotes/notes/add-ctrl_state-mcp-parameter-b23562aa7047665a.yaml

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>

* Fixed releasenotes

* Added not all ones unittest

* Added MCPhaseGate open control test

---------

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
2024-03-31 08:48:42 +00:00
Matthew Treinish b9ee758904
Oxidize two qubit basis decomposer (#12010)
* Oxidize TwoQubitBasisDecomposer

This commit is the second part of migrating the default 2q unitary
synthesis method to leverage parallel rust as described in #8774. The
Eventual goal is to be able to run unitary synthesis in parallel for all
the unitary matrices in a single call from the `UnitarySynthesis` pass.
The TwoQubitBasisDecomposer class is one of the default decomposers used
by the unitary synthesis plugin. After this we can build an interface
that will run the decomposition in parallel for a given decomposer.

This commit re-implements the TwoQubitBasisDecomposer class in rust. It
keeps the same algorithm from the previous python version but implements
it in rust. This builds off of #11946 and for the operation of the
decomposer class the TwoQubitWeylDecomposition class is used solely
through rust.

This commit depends on #11946 and will need to be rebased after #11946
is merged.

Fixes #12004

* Fix errors after rebase

* Fix traces method

* Fix pulse optimized synthesis

* Add release notes

* Fix lint

* Use consts for static decomposition arrays

* Run cargo fmt

* Handle basis_fidelity inside unitary synthesis path

* Cast input to TwoQubitBasisDecomposer.num_basis_gates

* Use statics instead of consts

* Pre-allocate 2q circuit sequence outside the pulse optimal path.
2024-03-28 16:07:22 +00:00
Siddhant 2427a3f9bf
Added the ctrl_state parameter to mcx() function (#12050)
* Added the ctrl_state parameter to mcx() function

* Fixing the Linting issue

* Fixed the Linting Issue

* Fixing Linting issue

* Added unit tests for mcx() func for ctrl_state param

* Fixed Linting Issue

* Added releasenotes for ctrl_state in mcx()

* Resolved Minor Changes
2024-03-27 18:03:14 +00:00
Matthew Treinish df59ab0c63
Compose multiple final_layout attributes in routing (#11399)
* Compose multiple final_layout attributes in routing

This commit adds functionality to the built-in routing passes for
composing an existing final layout with the routing permutation. In
PRs #9523 and #11387 we're adding new passes that introduce a
permutation prior to routing that needs to be tracked for the final
output layout to be valid. To faciliate this a new method compose() is
added to the Layout class which will combine the two layouts. Then the
built-in routing passes are updated to call compose when a layout has
already been set.

* adding inverse and to_permutation methods, tests, updating release notes

---------

Co-authored-by: AlexanderIvrii <alexi@il.ibm.com>
2024-03-27 15:12:22 +00:00
Elena Peña Tapia 090b2b193d
Fix custom constraints in `transpile` with `BackendV2` (#12042)
* Give priority over backend target to custom constraints when using transpile and BackendV2.

* Add reno

* Add backend_properties to skip_target

* Add target to pulse analysis passes

* Add tests

* Update reno

* Fix lint

* Add table to docs

* Update qiskit/compiler/transpiler.py

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Update explanation

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
2024-03-26 16:51:42 +00:00
Sebastian Brandhofer 67ceaaa0e1
Update Commutation Checker to Support UTF-8 Encoded Gate Names (#12061)
* update commutation checker to support utf-8 encoded gate names

* Update releasenotes/notes/commutation-checker-utf8-47b13b78a40af196.yaml

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* added a test case to check for compatibility with utf8 gate names

* Update test_commutation_checker.py

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
2024-03-26 16:45:51 +00:00
Elena Peña Tapia 35a8e53121
Round durations in `GenericBackendV2` (#11780)
* Round durations

* Update generic_backend_v2.py

* Clamp rounded durations
2024-03-25 15:50:35 +00:00
dependabot[bot] 40e654f0b2
Bump indexmap from 2.2.5 to 2.2.6 (#12078)
* Bump indexmap from 2.2.5 to 2.2.6

Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.2.5 to 2.2.6.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.5...2.2.6)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix cargo lock indexmap versions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
2024-03-25 13:38:24 +00:00
dependabot[bot] 81d133af2d
Bump rayon from 1.9.0 to 1.10.0 (#12077)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.9.0 to 1.10.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.9.0...rayon-core-v1.10.0)

---
updated-dependencies:
- dependency-name: rayon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 13:18:16 +00:00
Jake Lishman 86c21de1b0
Fix release Pauli equivalences release note (#10528)
The equivalences were all correct, just the release note had put the
applied operations in the equivalence the wrong way round.
2024-03-24 23:35:15 +00:00
Lev Bishop 39868680c1
Ruff enable a few more categories (#10342)
* Ruff enable a few more categories

* remove PYI and Q

* Update pyproject.toml

---------

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
2024-03-24 21:59:55 +00:00
ewinston 5e7a6d052a
fix typo in soft_compare (#12054)
* fix logic in soft_compare

* black

* add release note

* Update releasenotes/notes/fix_soft_compare-3f4148aab3a4606b.yaml

---------

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
2024-03-24 21:48:57 +00:00
Jake Lishman 17949dc228
Improve mesage on failed Graphviz optional (#11896)
* Improve mesage on failed Graphviz optional

I have recently seen several users struggle to install a complete
version of Graphviz upon seeing the `MissingOptionalLibraryError`
message.  This updates the message to make it clearer that the PyPI
distribution `graphviz` *is not* the actual Graphviz software, and it
must be installed separately.

* Tweak message
2024-03-24 20:57:45 +00:00
Evgenii Zheltonozhskii b14f3b51de
Fix dagcircuit mypy errors (#11469)
* Fix dagcircuit mypy errors

* Fix dagcircuit mypy errors

---------

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
2024-03-24 20:53:56 +00:00
Kevin J. Sung 5649831eea
fix RVGate doc (#11857)
* fix rvgate doc

* lint

* fix factor of 2 and add explicit norm definition
2024-03-24 20:22:37 +00:00
Arthur Strauss 88b5193edb
ParameterVector support for pulse parameter assignment (#12045)
* Added test and release notes update

* Reformatting

* Added test and release notes update

* Reformatting

* Added compatibility of pulse ParameterManager with ParameterVector

It is now possible to assign to a pulse schedule parameters in the form of a list of values that can be directly binded to ParameterVector. This PR is based on the current functioning of the analogous method for the QuantumCircuit class.

* Commit requested changes

Type for submitting a list of parameters has been set to Sequence for the case of ParameterVector. This enables the user to also pass a tuple of values/ParameterExpressions

* Update pulse_parameter_manager_compat_with_ParameterVector-7d31395fd4019827.yaml

Co-authored-by: TsafrirA <113579969+TsafrirA@users.noreply.github.com>

* Added tests for Schedule and case of mix Parameter+numeric values

Complementary tests have been added for checking the pulse.Schedule.assign_parameters() method, as well as the functioning of binding to a ParameterVector a collection of numeric values and new ParameterExpression (through Parameter).

* Corrected error for schedule test

An error was occurring when trying to get access to an instruction parameter within schedule.instructions

* Correction to test schedule

* Added test and release notes update

* Reformatting

* Added test and release notes update

* Reformatting

* Added compatibility of pulse ParameterManager with ParameterVector

It is now possible to assign to a pulse schedule parameters in the form of a list of values that can be directly binded to ParameterVector. This PR is based on the current functioning of the analogous method for the QuantumCircuit class.

* Commit requested changes

Type for submitting a list of parameters has been set to Sequence for the case of ParameterVector. This enables the user to also pass a tuple of values/ParameterExpressions

* Update pulse_parameter_manager_compat_with_ParameterVector-7d31395fd4019827.yaml

Co-authored-by: TsafrirA <113579969+TsafrirA@users.noreply.github.com>

* Added tests for Schedule and case of mix Parameter+numeric values

Complementary tests have been added for checking the pulse.Schedule.assign_parameters() method, as well as the functioning of binding to a ParameterVector a collection of numeric values and new ParameterExpression (through Parameter).

* Corrected error for schedule test

An error was occurring when trying to get access to an instruction parameter within schedule.instructions

* Correction to test schedule

* Update releasenotes/notes/pulse_parameter_manager_compat_with_ParameterVector-7d31395fd4019827.yaml

Co-authored-by: Will Shanks <wshaos@posteo.net>

---------

Co-authored-by: TsafrirA <113579969+TsafrirA@users.noreply.github.com>
Co-authored-by: Will Shanks <wshaos@posteo.net>
2024-03-24 12:31:46 +00:00
Jim Garrison b0d20620a5
Fix `BackendSamplerV2` with an empty classical register (#12055)
Fixes #12043
2024-03-22 13:11:31 +00:00
TheBabu f713c78c28
Fix incorrect signage in `qDRIFT` synthesis (#11321)
* Enable saving signs in qDRIFT trotterization

* Add release note

* Fix signs in evolution

* Fix formatting issues

* Perserve signs when doing qDRIFT evolution

* Fix spaces in qdrift.py

* Update test_qdrift_evolution

* Add reno release note

* Fix linting

* Update fix-qdrift-evolution-bceb9c4f182ab0f5.yaml

---------

Co-authored-by: Shelly Garion <46566946+ShellyGarion@users.noreply.github.com>
2024-03-21 13:40:56 +00:00
dependabot[bot] e0ddf72859
Bump smallvec from 1.13.1 to 1.13.2 (#12058)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.13.1...v1.13.2)

---
updated-dependencies:
- dependency-name: smallvec
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-21 13:06:37 +00:00
Caleb Johnson c6f4d468b6
Reduce number of compose calls in LieTrotter synthesis (#12021)
* Reduce number of compose calls in LieTrotter synthesis

* Decompose the output

* Update lie_trotter.py

* Update lie_trotter.py

* release note

* Update release note section

---------

Co-authored-by: Max Rossmannek <oss@zurich.ibm.com>
2024-03-21 12:42:53 +00:00
Sebastian Brandhofer dd2570bc0e
Add commutative cancellation to preset passmanagers level 2 and 3 (#11929)
* added commutative cancellation to preset passmanagers

* exclude annotated and initialize from commutation checker

* Update commutation_checker.py

* Update releasenotes/notes/commutative-cancellation-preset-passmanager-c137ce516a10eae5.yaml

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Update releasenotes/notes/commutative-cancellation-preset-passmanager-c137ce516a10eae5.yaml

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
2024-03-20 21:04:03 +00:00
Matthew Treinish b7fcc76afb
Document release note subsections and categorize 1.1 notes (#11926)
* Document release note subsections and categorize 1.1 notes

This commit adds contributor documentation about the release note
subsections. Now that we're using subsections on main we should
encourage contributors to use the appropriate subsection when adding new
release notes to reduce the release time effort needed to correctly
categorize the release notes. This also updates the new release note
template to list out all the subsections.

This also updates the current notes pending for the 1.1.0 release to
use subsections so that from this point forward we're using subsections
for all feature, deprecation, and upgrade notes.

* Update releasenotes/notes/classical-store-e64ee1286219a862.yaml
2024-03-20 14:47:58 +00:00
Jim Garrison 494a32ef10
Add RemoveFinalReset pass (#11266)
* Add RemoveFinalReset pass

* Fix lint

* Look at predecessors of `output_map`

Suggested at https://github.com/Qiskit/qiskit/pull/11266#discussion_r1397572149

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Remove `RemoveFinalReset` from preset passmanagers

This pass modifies the quantum output state of the circuit, so it
should not be run by default.

* Update remove-final-reset-488247c01c4e147d.yaml

It's no longer run by default at any optimization level.

* Fix `QiskitTestCase` import

* Update to use `DoWhileController`

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
2024-03-19 20:53:13 +00:00
Takashi Imamichi 194cc8fb9a
Add better error messages for typical SamplerV2 and EstimatorV2 error cases (#12031)
* add an early error for a case

* Update qiskit/primitives/containers/sampler_pub.py

Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com>

* add better message for estimator pub

* Update qiskit/primitives/containers/estimator_pub.py

Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com>

* add an additional message

---------

Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com>
2024-03-19 15:28:45 +00:00
dependabot[bot] c26e25cddb
Bump the github_actions group with 1 update (#12033)
Bumps the github_actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).


Updates `pypa/cibuildwheel` from 2.16.5 to 2.17.0
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.16.5...v2.17.0)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 11:06:29 +00:00
Edwin Navarro 43381ae1b1
Fix mpl circuit drawer with fold=-1 hanging with ControlFlow ops (#12016)
* Fix typing-extensions

* Fix control flow with fold minus one
2024-03-18 17:13:39 +00:00
Luciano Bello ad0b7f2f35
Remove qiskit-ibm-provider as an example (#12035) 2024-03-18 15:36:21 +00:00
dependabot[bot] 5a60c59575
Bump pulp from 0.18.8 to 0.18.9 (#12032)
Bumps [pulp](https://github.com/sarah-ek/pulp) from 0.18.8 to 0.18.9.
- [Commits](https://github.com/sarah-ek/pulp/commits)

---
updated-dependencies:
- dependency-name: pulp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 12:55:46 +00:00
TsafrirA 00b0952c47
Fix build() default alignment (#12029) 2024-03-18 01:42:23 +00:00
Dipansh Uikey 8557369597
Typo fixed in __init__.py (#12023)
Fixed the typo in #12017
2024-03-16 20:41:27 +00:00
Jake Lishman 6e280c1a18
Use pickle `__reduce__` for `TwoQubitWeylDecomposition` (#12003)
Since this class does complicated calculation within its `__new__`
method (as many extension classes do), we want to use an alternative
extension-module constructor for the object on unpickle, to avoid
leaking the "pickle" / "no pickle" state through the default
constructor.

This implements a private Python-space method that directly constructs
the object from components, which is then used as the `__reduce__`
target, along with the pickle state.
2024-03-16 00:31:42 +00:00
Lev Bishop af659e2401
Fix TwoQubitWeylDecomposition docstring (#12022) 2024-03-15 22:45:10 +00:00
Takashi Imamichi 2369761916
Add BackendSamplerV2 (#11928)
* add BackendSamplerV2

* reno

* Apply suggestions from code review

Co-authored-by: Ian Hincks <ian.hincks@gmail.com>
Co-authored-by: Ikko Hamamura <ikkoham@users.noreply.github.com>

* allow BackendV1

* update docstring

* add options

* move default_shots to options and update doc/reno

---------

Co-authored-by: Ian Hincks <ian.hincks@gmail.com>
Co-authored-by: Ikko Hamamura <ikkoham@users.noreply.github.com>
2024-03-15 19:18:49 +00:00
Luciano Bello be0620856b
Seed all the transpile calls in test.python.compiler.test_transpiler (#11973) 2024-03-15 18:22:03 +00:00
Takashi Imamichi 7370ed064e
Add BackendEstimatorV2 (#11931)
* add BackendEstimatorV2

* reno

* fix error for aer

* fix comments of tests

* revise aer test

* increase presion for test

* Apply suggestions from code review

Co-authored-by: Ian Hincks <ian.hincks@gmail.com>

* allow BackendV1

* add seed_simulator to constructor

* introduce options

* use dataclass for Options

* move default_precision to options

* update docstring and reno

---------

Co-authored-by: Ian Hincks <ian.hincks@gmail.com>
2024-03-15 12:59:31 +00:00
Naoki Kanazawa f48d81983e
Fix pulse parameter value formatter bug (#11972)
* Fix value formatter bug

* reno

* Comments from review

Co-authored-by: Will Shanks <wshaos@posteo.net>

---------

Co-authored-by: Will Shanks <wshaos@posteo.net>
2024-03-14 17:08:39 +00:00