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

Release 0.13.0 #1953

Closed
wants to merge 1,158 commits into from
Closed

Release 0.13.0 #1953

wants to merge 1,158 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 8, 2022

  1. Configuration menu
    Copy the full SHA
    bc5b6d9 View commit details
    Browse the repository at this point in the history
  2. Fix time_taken value in cluster backend (Qiskit#1437)

    Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    3 people authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    2da46c6 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. Only install numpy and scipy from wheels in build jobs (Qiskit#1449)

    * Only install numpy and scipy from wheels in build jobs
    
    With recent changes to the upstream numpy and scipy packaging our CI
    build jobs are spending most of their time build numpy and/or scipy from
    source to test the built wheels function correctly. This is unecessary
    as there are compatible wheels available on pypi. To correct this issue
    this commit updates the cibuildwheel config used in the wheel build jobs
    (both for ci and release artifacts) to only use binary wheels for numpy
    and scipy before testing.
    
    * Use manylinux 2014 for py310 wheel builds
    
    In the previous commit we switched to the test configuration to install
    numpy and scipy only from binary pre-compiled wheel packages. However,
    for scipy and numpy starting in Python 3.10 they only package for
    manylinux2014 while for aer we were still using manylinux2010 for all
    the builds. To enable building on python 3.10 we need to use
    manylinux2014, but for compatibility we still need to use manylinux2010.
    This commit makes this change so for python 3.6-3.9 we build on
    manylinux2010 and for python 3.10 we build on manylinux 2014.
    
    To facilitate this change the configuration for cibuildwheel is changed
    to leverage the pyproject.toml to set the configuration for cibuildwheel
    instead of using separate environment variables. This centralizes the
    configuration and makes it easier to work with.
    
    * Bump cibuildwheel version
    
    The pyproject.toml based configuration didn't support overrides (which
    was leveraged in the previous commit to use a different image for py310)
    until v2.2.0 and we were previously using a version older than that.
    This commit bumps the cibuildwheel version to the 2.2.x release to
    enable the use of this option.
    
    * Use manylinux2010 for all i686 builds
    
    The i686 py310 job was failing because centos7 (which manylinux2014 is
    based off of) doesn't have openblas packaged for i686. We orignally
    switched both the x86_64 and i686 py310 jobs to use manylinux2014
    because numpy and scipy made python 3.10 manylinux2014 and only publish
    manylinux2014 wheels. However, numpy/scipy don't support i686 on py310
    and we already skip test installs for py310. So regardless we have to
    build numpy from source to build aer. So using manylinux2010 which is
    centos6 based will enable us to at least build because there is an
    openblas package available.
    mtreinish authored Feb 9, 2022
    Configuration menu
    Copy the full SHA
    43be56a View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. Configuration menu
    Copy the full SHA
    c924865 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2022

  1. stop installing qiskit-terra from source in tox (Qiskit#1460)

    * stop installing stop installing qiskit-terra from source
    
    This changes installation of qiskit-terra in tox.
    Recent commit of Qiskit#1448 changed installation of qiskit-terra to use pypi in most CI workflow, but not tox.
    
    * reduce explicit installation of qiskit-terra in tox.ini
    
    Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
    hhorii and jakelishman authored Feb 20, 2022
    Configuration menu
    Copy the full SHA
    5ebabec View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. Drop support for Python 3.6 (Qiskit#1430)

    * Drop support for Python 3.6
    
    Now that Qiskit Aer 0.10.0 has been released that Qiskit no longer
    supports python 3.6 (in the lead up to adding support for python 3.10).
    This commit officially drops the support for python 3.6 and makes python
    3.7 required to install qiskit-aer. It also removes all the ci jobs
    still using 3.6 both for testing and building wheels.
    
    * Add release note
    
    * Fix syntax error in job configuration
    
    * Update releasenotes/notes/drop-python36-61553302523fa240.yaml
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    
    * Unify cibuildwheel configuration to pyproject.toml
    
    This commit removes all the environment variable usage for default
    configuration of cibuildwheel and switches to use the pyproject.toml to
    centralize the configuration for all the jobs. Environment variables are
    still used for per job custom overrides which don't really fit in the
    configuration of the pyproject.toml (mainly cross-build overrides and
    GPU configuration).
    
    * Fix toml inline table syntax error
    
    * Add musllinux wheels to skip list too
    
    Newer versions of cibuildwheel support building musllinux wheels for
    musl libc based linux distros, such as alpine linux, in addition to
    manylinux wheels (which are not compatible with musl libc based
    linux distros and only work with glibc distros). The musllinux build
    environments are different and not centos based so builds fail in them.
    Since we're not supporting musl platforms in qiskit-aer we don't need to
    attempt to build wheels for that platform. This commit adds musllinux
    builds to the skip list in the common cibuildwheel configuration
    accordingly.
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    3 people authored Feb 21, 2022
    Configuration menu
    Copy the full SHA
    37fd547 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. Add experimental support of cuQuantum (Qiskit#1400)

    * Add cuStateVec support
    
    Added support for cuQuantum, NVIDIA's APIs for quantum computing,
    to accelerate statevector, density matrix and unitary simulators by using GPUs.
    
    To include cuQuantum, custom build of Aer is necessary by setting path of
    cuQuantum library to CUSTATEVEC_ROOT (Binary distribution will be after
    official release of cuQuantum, which is now Beta 2 (0.1.0).
    
    cuStateVector of cuQuantum is enabled by setting device='GPU' and 
    cuStateVec_threshold options. cuStateVec is enabled when number of
    qubits of input circuit is equal or greater than cuStateVec_threshold.
    
    Since cuQuantum is beta version, there are some limitations:
    - cuStateVec is not thread safe, multi-chunk parallelization (cache blocking) is done by single thread (slow)
    - Multi-shots parallelization is disabled (single thread, slow)
    - Multi-shots batched optimization is not support for cuStateVec
    
    Co-authored-by: Christopher J. Wood <cjwood@us.ibm.com>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    3 people authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    f895b0b View commit details
    Browse the repository at this point in the history
  2. Always depend on jupyter_sphinx in docs (Qiskit#1429)

    The constraint on `jupyter_sphinx` was originally added when Python 3.8
    had only just come out, because at the time there were no wheels
    available for it on Windows, or they were broken.  That is no longer the
    case, so now all this constraint was doing was preventing a successful
    documentation build on anything other than Python 3.7.
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    3 people authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    308e618 View commit details
    Browse the repository at this point in the history
  3. Do not build with -ffast-math (Qiskit#1469)

    This flag enables several unsafe floating-point transformations that are
    not generally appropriate for a distributed mathematical library.  Most
    importantly, however, `-ffast-math` on `gcc` also forcibly enables the
    floating-point "flush to zero" mode for subnormal numbers when the
    dynamic library is loaded, which affects not just Qiskit Aer, but every
    other floating-point operation in the running process.  This is not our
    decision to make for users, and it shouldn't be distributed.
    jakelishman authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    83dd81e View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Split out gpu py310 wheel build (Qiskit#1472)

    The aer gpu package wheel job for python 3.10 builds in the manylinux2014
    container image, while for the older Python versions it uses the
    manylinux2010 image. The manylinux2014 image is based on Centos 7 while
    the manylinux2010 image is based on Centos 6. During the qiskit-aer
    0.10.3 release the gpu wheel job failed because when running the py3.10
    build we installed the cuda package for centos 6 in the manylinux2014
    centos 7 based image. This caused the job to fail when nvcc was called
    because it was not installed properly. To fix this issue the Python 3.10
    build is split out into a separate job. This separate job will install
    the same cuda version but for centos 7 which is appropriate for the
    manylinux2014 image.
    mtreinish authored Mar 3, 2022
    Configuration menu
    Copy the full SHA
    91e83b4 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Use unitary equivalence instead of circuit equality in noise tests (Q…

    …iskit#1446)
    
    * Use unitary equivalence instead of circuit equality in noise tests
    
    Recent qiskit-terra reduces I gates and some tests of Aer failed in equality checks of QuantumCircuit injected as noise.
    This PR change a way of equality check from object equality to unitary equivalence of QuantumCircuit.
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
    3 people authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    03e3997 View commit details
    Browse the repository at this point in the history
  2. Scrub old Cython-related code and comments (Qiskit#1471)

    Aer has not used Cython at all since late 2020 (see Qiskit#1014), and there
    were still a few minor comment references to it in the code.  This also
    removes two CMake files that were used during the Cython build process,
    but are no longer needed, except for a trivial variable that was only
    used in `FindPybind11.cmake`, and is now calculated there.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    jakelishman and hhorii authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    193656d View commit details
    Browse the repository at this point in the history
  3. Change default options for fusion (Qiskit#1462)

    Until 0.8.2,Qiskit-Aer sets options for fusion depending on a method, such as statevector and density_matrix.
    However, since AerSimulator introduced in 0.9.0, their default values were fixed for all the methods.
    Because density matrix and unitary methods use 2^n times larger memory than statevector does,
    performance regressions were happened since 0.9.0.
    
    This commit sets default values for fusion fusion_max_qubit and fusion_threshold based on a method as follows:
    
        +--------------------------+----------------------+----------------------+
        | Method                   | ``fusion_max_qubit`` | ``fusion_threshold`` |
        +==========================+======================+======================+
        | ``statevector``          | 5                    | 14                   |
        +--------------------------+----------------------+----------------------+
        | ``density_matrix``       | 2                    | 7                    |
        +--------------------------+----------------------+----------------------+
        | ``unitary``              | 5                    | 7                    |
        +--------------------------+----------------------+----------------------+
        | ``superop``              | 2                    | 7                    |
        +--------------------------+----------------------+----------------------+
        | other methods            | 5                    | 14                   |
        +--------------------------+----------------------+----------------------+
    
    Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
    hhorii and jakelishman authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    22712a0 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Change to truncate T2 up to 2 * T1 in NoiseModel.from_backend (Qiskit…

    …#1467)
    
    * Change not to fail to run noisy simulation with T2 > 2 * T1
    
    Previously NoiseModel.from_backend failed when T2 value is greater than 2 * T1,
    however, sometimes backend returns such T2 value. 
    This change truncates T2 value up to 2 * T1 with issuing a user warning. 
    
    Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
    itoko and hhorii authored Mar 7, 2022
    Configuration menu
    Copy the full SHA
    9d084b0 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Fix for MPI distribution issue (Qiskit#1456)

    * Enable multi-chunk parallelization in MPI environment
    
    Previously multi-chunk parallelization was not enabled in MPI environment.
    Therefore, shots were not simulated in parallel with multi-GPUs in distributed nodes.
    With this change, multiple-GPUs can perform multi-shots simulation in parallel
    and then provide performance improvement for noise and intermediate-measurement
    simulation in distributed environment.
    doichanj authored Mar 8, 2022
    Configuration menu
    Copy the full SHA
    866970f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcf463d View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. Fix: cache blocking transpiler for density_matrix with noises (Qiskit…

    …#1480)
    
    * Enable cacheblocking of superop operations and fix a bug in measurement with multi-chunks
    
    Previously, superop was not recognized in transplation of cacheblocking and then it was not correctly handled in
    multi-gpu environment and hybrid environment with gpu and cpu.
    This change enhance cacheblocking for superop and then make density matrix simulation with GPU(s) correctly.
    In addition, a measurement issue with cacheblocking was also fixed.
    doichanj authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    881461d View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2022

  1. Pin jinja2 in CI (Qiskit#1490)

    The 3.1 release of Jinja breaks some part of the Sphinx/nbsphinx
    pipeline, causing tutorial jobs to fail.  The jinja2 developers consider
    this a Sphinx bug, so we need to pin Jinja until a new version of Sphinx
    or the nbsphinx extension is released to fix the issue.
    jakelishman authored Mar 25, 2022
    Configuration menu
    Copy the full SHA
    d24a7c8 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Fix for the latest cuStateVec APIs (Qiskit#1489)

    * Fix for specification change of cuStateVec APIs
    
    cuQuantum 0.40 changed cuStateVec APIs and this commit is to catch up this change.
    Aer supports only APIs of the latest cuQuantum and does not previous versions.
    In addition, since memory pool is introduced for cuStateVec, this change enables this function.
    Memory pool provides performance for low-qubit simulation.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Mar 28, 2022
    Configuration menu
    Copy the full SHA
    b537915 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. Fix for GPU batched optimization with Pauli noise (Qiskit#1482)

    * Improve performance of batched noise simulation based on probabilistic mixture of paulis
    
    This improves performance of noise simulation on GPU(s) for small qubits with statevector method
    and noise based on probabilistic mixture of paulis. Before such noise simulation, Aer batched
    some shots as a unit of work in GPUs. For each shot, noise model injects some pauli gates.
    Previously, this sampling was performed by a single thread and this change parallelize the sampling.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    ea1b091 View commit details
    Browse the repository at this point in the history
  2. error message includes required memory mb (Qiskit#1494)

    * Add a size of required memory in an error message
    
    Previously there is no way to know required memory to simulate a circuit when simulation fails
    due to shortage of memory. This change adds required memory and available max memory in
    a message of error state.
    hhorii authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    a7ac92d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b08985b View commit details
    Browse the repository at this point in the history
  4. Fix handling of circuit metadata (Qiskit#1436)

    The to_json() method  is called for each circuit header.
    A header may include metadata and metadata can be a python object.
    This PR changes serialization of circuit headers to use py::handle without serializing to a json.
    
    Fixes Qiskit#1435
    
    
    * use python parser for circuit.header
    
    * support metadata copy with parameterization
    
    * avoid serialization of circuit metadata
    
    * use circuit_index to specify metadata
    
    * remove metadata from qobj for Aer to simulate circuits
    
    * add release note
    
    * clear circuite metadata correctly.
    
    * take unnecessary tests for circuit metadata backup/recovery
    
    * work around metadata serialization issue within _run method
    
    * Update releasenotes/notes/remove_circuit_metadata_from_qobj-324e7ea9b369ee67.yaml
    hhorii authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    187eefb View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Install Rust compiler and build terra from source in CI (Qiskit#1498)

    Starting with the recently released qiskit-terra 0.20.0 qiskit only
    builds packages on manylinux2014 now. This commit update the wheel jobs
    for Aer to install the rust compiler and build terra from source when CI uses 
    manylinux2010 for i686 builds.
    In manylinux2014 for i686, binary of OpenBLAS is not available and its installation
    from source codes is necessary. Installation of rust compiler and terra is a
    lot less effort than compiling OpenBLAS.
    See the details in Qiskit#1498.
    
    * Thread control for Thrust CPU is now same as device=CPU
    
    This commit also includes Qiskit#1497, which fix performance issue in device=Thrust.
    A cause of this issue is that Thrust CPU always applied OpenMP for threading
    kernel programs without referring to the number of qubits.
    This fix applies OpenMP referring to statevector_parallel_threshold parameter
    as same as device=CPU.
    See the details in Qiskit#1497.
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    mtreinish and doichanj authored Apr 6, 2022
    Configuration menu
    Copy the full SHA
    1c64317 View commit details
    Browse the repository at this point in the history
  2. Stop using deprecated BaseBackend class (Qiskit#1501)

    The BaseBackend class in qiskit-terra (along with the rest of the legacy
    provider interface) is deprecated and being removed soon in
    Qiskit/qiskit#7886. To avoid potential compatibility issues or
    deprecation warnings we shouldn't be using this class anymore. This
    commit removes the last 2 uses of these legacy classes to avoid issues
    moving forward.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    mtreinish and hhorii authored Apr 6, 2022
    Configuration menu
    Copy the full SHA
    46034ef View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. Fixed a compile error when enabling cuStateVec (Qiskit#1502)

    BaseContainer::stream_ is of type cudaStream_t (opaque pointer), cannot be used as an array.
    This commit fixes this issue. See the detail in Qiskit#1502.
    1tnguyen authored Apr 13, 2022
    Configuration menu
    Copy the full SHA
    df87250 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Support pauli instructions in NoiseModel.from_dict() (Qiskit#1510)

    Currently NoiseModel.from_dict() does not support pauli gate though some backends
    returns noise models with it. Therefore, if a returned NoiseModel was transformed to dict with
    NoiseModel.to_dict(), from_dict() may fail. This commit fixes this issues by supporting
    pauli gate in from_dict(). See the detail in Qiskit#1505 and
    Qiskit#1510.
    hhorii authored Apr 20, 2022
    Configuration menu
    Copy the full SHA
    7c5783e View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Apply multiplexer to statevector even if no control qubit exists (Qis…

    …kit#1508)
    
    * fix a bug in multiplexer
    
    * add multiplexer tests
    
    * make unitary op if multiplexer does not have control qubits
    hhorii authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    3f4d93b View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. Addressing default branch name change (Qiskit#1517)

    * Addressing default branch naming change
    
    * Update CODE_OF_CONDUCT.md
    
    Updating Code of conduct to match original format
    
    * Correcting qiskit project default branch naming
    padraignix authored May 3, 2022
    Configuration menu
    Copy the full SHA
    bc99ab3 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2022

  1. Set different seeds for all the circuits with deterministic logic bas…

    …ed on the seed of the first circuit (Qiskit#1512)
    
    Currently, a circuit is copied for each parameter set, including seed_simulator
    (if seed_simulator is specified as a run option, different seeds are set to circuits). 
    Also, if backend.run() simulates multiple circuits without seed_simulator, a seed of 
    each circuit is randomly generated and make users to reproduce simulation difficult.
    This PR sets seeds deterministically based on the seed of the first circuit in
    multi-circuit simulation. 
    
    Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
    hhorii and jakelishman authored May 6, 2022
    Configuration menu
    Copy the full SHA
    b2d4eaa View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. Add mergify configuration (Qiskit#1518)

    * Add mergify configuration
    
    This adds a configuration similar to what already exists on Terra that
    causes the mergify bot to handle merging automatically on our behalf, if
    a PR passes all its status checks and has the `automerge` label applied.
    Procedure on Aer has usually been to group stable backports rather than
    doing them one at a time, so this configuration does not add a backport
    rule (unlike Terra's version).
    
    GitHub Actions (what Aer uses for CI) tests appear as separate status
    check entries, so we have to manually specify all of these to get the
    desired behaviour.
    
    * Simplify configuration rules
    jakelishman authored May 10, 2022
    Configuration menu
    Copy the full SHA
    f4fdfc9 View commit details
    Browse the repository at this point in the history
  2. reduce dependency to ClassicalRegister from AER::QV::QubitVector (Qis…

    …kit#1513)
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    hhorii and mtreinish authored May 10, 2022
    Configuration menu
    Copy the full SHA
    2cdfd9a View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. Optimized MPI simulator with multiple-chunk swaps (Qiskit#1515)

    MPI backend transpiles a circuit with gates for local qubits and swap for remote qubits.
    Simulating swap for remote qubits produces MPI communications between nodes.
    This commit optimizes MPI communication by fusing such swap gates.
    New parameters (multi_chunk_swap_enable, chunk_swap_buffer_qubits, and max_multi_swap)
    control how fuse swap gates in MPI backend.
    
    * Implement multiple chunk swaps
    * multi swap for density matrix
    * Fix matrix/parameter buffer for ThrustCPU
    * fix uninitialized i
    * add multi-swaps parameters to metadata
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj authored May 12, 2022
    Configuration menu
    Copy the full SHA
    2c713ec View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

  1. Fix deprecated pauli import path (Qiskit#1521)

    This change replaces quantum_info.operators.pauli.Pauli with quantum_info.operators.Pauli because the former was deprecated.
    ikkoham authored May 17, 2022
    Configuration menu
    Copy the full SHA
    b11dfca View commit details
    Browse the repository at this point in the history

Commits on May 23, 2022

  1. inline a circuit to initialize statevector (Qiskit#1519)

    * inline a circuit to initialize statevector
    
    * Use _append() to add instructions in initialization.
    Fixed a test case for initialization with label
    Added a release note for support of initialization with label.
    Update qiskit/providers/aer/backends/aer_compiler.py
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    hhorii and jakelishman authored May 23, 2022
    Configuration menu
    Copy the full SHA
    8114b61 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. Support for cuQuantum 22.5.0.41 (Qiskit#1523)

    A bug in cuQuantum was fixed and Aer starts calling cuQuantum in omp threads.
    
    * turn on omp thread parallel for cuStateVec
    * remove pre initialization of cuStateVec
    doichanj authored May 30, 2022
    Configuration menu
    Copy the full SHA
    71269e1 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Make CI to build OpenMP from source through conan for mac (Qiskit#1536)

    In CI system, cached native libraries of conan were sometimes built on macOSX 11 though 10.9 is necessary for build of Aer.
    This commit allows CI to build only OpenMP from sources of conan by setting `AER_CMAKE_OPENMP_BUILD`.
    hhorii authored Jun 13, 2022
    Configuration menu
    Copy the full SHA
    d681447 View commit details
    Browse the repository at this point in the history
  2. Removing usage of the deprecated U1Gate from parallel processing exam…

    …ples. (Qiskit#1535)
    
    * Removing usage of U1Gate from parallel processing examples.
    
    * Adding release note.
    
    * Updating release note with correct class annotation.
    
    * Remove documentation-only release note
    
    Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    3 people authored Jun 13, 2022
    Configuration menu
    Copy the full SHA
    9a52bc9 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Fix cache blocking parallelization to support large multi-control gat…

    …es (Qiskit#1529)
    
    This commits allow any multi-control gates in GPU execution if a number of target qubits are within a block.
    
    * blocking only target qubits for control gates
    * Fix for GPU+CPU hybrid mode
    * add metadata for multi-shots without batch optimization
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj authored Jun 14, 2022
    Configuration menu
    Copy the full SHA
    67afd0a View commit details
    Browse the repository at this point in the history
  2. Fix indent (Qiskit#1528)

    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    3 people authored Jun 14, 2022
    Configuration menu
    Copy the full SHA
    1c55706 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Add qiskit-sphinx-theme to tutorial job (Qiskit#1542)

    In Qiskit/qiskit-tutorials#1337 the theme used for the sphinx builds of
    the tutorials changed to use the qiskit theme package. This is breaking
    CI because we didn't have the package installed. This commit fixes this
    failure by swapping out the theme package.
    mtreinish authored Jun 16, 2022
    Configuration menu
    Copy the full SHA
    ad777f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. fix issues from mismatch of binding specs in assemble and backend of …

    …aer (Qiskit#1538)
    
    * fix issues from mismatch of binding specs in assemble and backend of aer
    
    * generate qobj for each circuit and combine the all in aerbackend
    hhorii authored Jun 17, 2022
    Configuration menu
    Copy the full SHA
    7949d18 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. Add qiskit-neko integration test job (Qiskit#1541)

    * Add qiskit-neko integration test job
    
    This commit adds a new CI job to run the Qiskit Neko test suite. Qiskit
    Neko is an integration suite that's designed to validate backwards
    compatibility for end user workflows and between different components in
    Qiskit. This test job will hopefully eventually replace the role that
    the tutorials CI job is playing for backwards compatibility testing.
    Right now the test suite is still fairly small but it covers some
    examples of terra, aer, experiments, nature, and machine learning. The
    test suite will continue to grow and improve our coverage for testing.
    
    This test job will install qiskit-neko and aer from main, while
    the other qiskit components (nature, aer, machine learning, and
    experiments) will be installed from release. This will enable us to
    check that a proposed PR does not regress compatibility on an API or an
    integration point with another qiskit project and ensure that
    aer doesn't break CI for another project using neko.
    
    * Fix selection regex
    
    * Update .github/workflows/neko.yml
    
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    mtreinish and mergify[bot] authored Jun 24, 2022
    Configuration menu
    Copy the full SHA
    c6dd67b View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Set Sphinx language to explicitly English (Qiskit#1548)

    Since Sphinx 5, `language = None` is a warning that defaults to "en".
    
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    jakelishman and mergify[bot] authored Jun 27, 2022
    Configuration menu
    Copy the full SHA
    5c1c810 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Remove distutils import per PEP 632 (Qiskit#1546)

    https://peps.python.org/pep-0632/
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    HM0880 and mtreinish authored Jun 28, 2022
    Configuration menu
    Copy the full SHA
    7f4d60d View commit details
    Browse the repository at this point in the history
  2. Remove deprecated use of qiskit.test.mock (Qiskit#1547)

    * Remove deprecated use of qiskit.test.mock
    
    Terra 0.21 triggers deprecation warnings for `qiskit.test.mock`, in
    favour of `qiskit.providers.fake_provider`, which has been available
    since Terra 0.20.  The only uses are in the tests, but it still
    technically requires a version bump in the Terra requirement.  It's
    fairly likely something else will bump the Terra version further before
    release of Aer 0.11.
    
    * Flatten unnecessarily nested import
    
    This is also necessary because the submodule structure of
    `qiskit.providers.fake_provider` is not guaranteed to be a public
    interface, especially in Terra 0.20.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    jakelishman and hhorii authored Jun 28, 2022
    Configuration menu
    Copy the full SHA
    559fbd5 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    d0ac9f4 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. Add support for BackendV2 in NoiseModel.from_backend (Qiskit#1484)

    * Add support for BackendV2 in NoiseModel.from_backend
    
    * Fix lint and doc
    
    * Apply suggestions from code review
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    
    * Raise pending deprecation warnings
    
    * Fix a bug in unit conversion
    
    * Bump the minimum qiskit-terra version to 0.20.0
    
    * Make properties optional
    
    * Fix filterwarnings
    
    * Add test with FakeLagosV2
    
    * Fix a bug in the case inst prop is None
    
    * Add reno
    
    * Apply suggestions from code review
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    
    * Take care the case of no prop dict for measure
    
    * Replace test.mock with providers.fake_provider
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    3 people authored Jul 12, 2022
    Configuration menu
    Copy the full SHA
    1e09b05 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Add cross-build wheel jobs for ppc64le and s390x (Qiskit#1504)

    * Add cross-build wheel jobs for ppc64le and s390x
    
    This commit adds a new CI job at release time to build precompiled
    binaries for s390x and ppc64le linux platforms.  These platforms do not
    have precompiled wheels for any upstream dependencies (except for
    retworkx and tweedledum, which both publish binaries for both platforms).
    Since the only publically available CI service that has native s390x and
    ppc64le environments available is travis which doesn't provide
    sufficient quota to open source projects anymore to make it usable we
    have to rely on either cross compilation or emulation. Cross compiling
    with python wheels while possible is quite tricky to setup and configure
    in practice so emulation is used here. This is a much simpler path to
    configure, especially because cibuildwheel has support for emulating
    non-x86 architectures via QEMU to build wheels. While QEMU emulation of
    other architectures is exceedingly slow, we have a 6 hour job time limit
    with github actions which should hopefully be sufficient to compile the
    binary and build wheels for all our supported python versions.
    
    However, because this is so slow we don't have a sufficient time budget
    for compiling anything but qiskit-aer. To test the wheels we'd have to
    build most (not qiskit-terra or retworkx) dependencies from source and
    many are slow to build under emulation. Scipy alone could take our
    entire time budget. So to avoid this issue this commit skips the tests
    and solely builds the wheels. This also means installing scipy and other
    dependencies is still an exercise for the s390x and ppc64le users. But,
    if this works it will mean that at least for Qiskit there will not be a
    need to compile anything from source.
    
    * DNM: test wheel builds in Ci
    
    * Install epel for openblas
    
    * Revert "DNM: test wheel builds in Ci"
    
    This reverts commit 03addfc.
    
    * Add release note
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    mtreinish and hhorii authored Jul 14, 2022
    Configuration menu
    Copy the full SHA
    d349be4 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2022

  1. Configuration menu
    Copy the full SHA
    19d4c02 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Add primitives (Sampler and Estimator) (Qiskit#1531)

    This commit adds Aer implementation of Sampler and Estimator in Qiskit Primitives.
    See the docs https://qiskit.org/documentation/apidoc/primitives.html for general descriptions.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: dlasecki <dal@zurich.ibm.com>
    3 people authored Jul 26, 2022
    Configuration menu
    Copy the full SHA
    3c0ff64 View commit details
    Browse the repository at this point in the history
  2. avaraging seed of cirucits among all MPI processes (Qiskit#1560)

    Each MPI process had different seed numbers when seed_simulator is not set.
    This resolved this issue by synchronizing a seed in all MPI processes.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Jul 26, 2022
    Configuration menu
    Copy the full SHA
    adb8597 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. Improve performance of Primitives (Qiskit#1562)

    Avoid call of bind_circuits() if parameters are empty lists.
    ikkoham authored Jul 29, 2022
    Configuration menu
    Copy the full SHA
    e9f9cfc View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Avoid using inversed isometry gate in multiplexer test (Qiskit#1570)

    * avoid using inversed isometry gate for multiplexer test
    
    * Update test/terra/reference/ref_multiplexer.py
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    hhorii and mtreinish authored Aug 8, 2022
    Configuration menu
    Copy the full SHA
    b8bed73 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. Fix for save_statevector and fix for global indexing for Thrust (Qisk…

    …it#1569)
    
    * Fix for save_statevector and fix for global indexing for Trust
    
    * fix gate naming for control qubits blocking
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Aug 9, 2022
    Configuration menu
    Copy the full SHA
    da4153f View commit details
    Browse the repository at this point in the history
  2. Fixed crash (SegFault) in apply_diagonal_matrix_avx (Qiskit#1563)

    The temp double array of size 4 needed for _mm256_load_pd should be allocated with posix_memalign on Linux platforms. It is accidentally wrapped within _OPENMP switch, hence causing the default malloc to be used in all cases. This commit corrects _OPENMP and fixes the bug.
    
    Signed-off-by: Thien Nguyen <thien.md.nguyen@gmail.com>
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    1tnguyen and hhorii authored Aug 9, 2022
    Configuration menu
    Copy the full SHA
    c75105d View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. sphinx warning box (Qiskit#1566)

    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    1ucian0 and hhorii authored Aug 10, 2022
    Configuration menu
    Copy the full SHA
    a79f81a View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Treat CMAKE_HOST_SYSTEM_PROCESSOR=amd64 same as AMD64 (Qiskit#1576)

    FreeBSD has CMAKE_HOST_SYSTEM_PROCESSOR=amd64.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    yurivict and hhorii authored Aug 16, 2022
    Configuration menu
    Copy the full SHA
    f2aba76 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Primitives support Terra 0.22 (Qiskit#1578)

    Recent releases of Terra and Aer are not synchronized and Terra-0.22 will be released before Aer-0.12 will be released.
    Primitives in Terra 0.22 have new feature run method. Qiskit/qiskit#8382.
    This PR makes Aer 0.11 compatible with both Terra 0.21 and 0.22.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    ikkoham and hhorii authored Aug 22, 2022
    Configuration menu
    Copy the full SHA
    c7772de View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. Move Aer to its own package (Qiskit#1526)

    Namespace packages are constant source of problems for users. The python
    packaging ecosystem around splitting packages across namespaces is
    fragile at the best of times and can often leave a you with an
    environment that isn't recoverable (especially when mixing install
    methods). There is also a performance hit whenever there is a piece of
    the namespace we allow external packages to extend since it requires
    doing a full python path search which can be slow depending on the
    backing I/O and the number of paths in sys.path for an environment. This
    commit addresses the piece from the aer perspective by moving
    qiskit.providers.aer to it's own package and namespace 'qiskit_aer'.
    
    Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
    mtreinish and hhorii authored Aug 31, 2022
    Configuration menu
    Copy the full SHA
    c82746e View commit details
    Browse the repository at this point in the history
  2. Add libaer.so (Qiskit#1582)

    * initial input of aer runtime
    
    * support methods and refactor state classes
    
    * add AerStatevector that inherits quantum_info.states.Statevector
    
    * fix pylint errors
    
    * set default parallelization and expose last execution result
    
    * test mps
    
    * fix configure issue
    
    * cast to correct type of configuration
    
    * call set_max_matrix_qubits in AerState
    
    * support AerStatevector.evolve
    
    * resolve segfault and bugs in state_chunk
    
    * add chunk distribution support
    
    * support ndarray initialization for AerStatevector
    
    * take python parts
    
    * take a remaining python part
    
    * add runtime library test
    
    * add release note
    
    * Correctly run test in CI
    
    * add apache header to adding files
    
    * take duplicated private
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    hhorii and doichanj authored Aug 31, 2022
    Configuration menu
    Copy the full SHA
    cac817e View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2022

  1. Enhancement of Sampler shots is None (Qiskit#1588)

    * Qiskit#1584
    
    * fix lint
    
    * add a test
    
    * fix bug
    
    * remove unnecessary change
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    ikkoham and hhorii authored Sep 1, 2022
    Configuration menu
    Copy the full SHA
    73a22a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Add release note for namespace migration (Qiskit#1593)

    * Add release note for namespace migration
    
    In the recently merged Qiskit#1526 we moved the qiskit-aer package to move
    it's python namespace from qiskit.providers.aer to qiskit_aer. However,
    in that PR a release note was missing. This commit adds the missing
    release note to document the upgrade implications about the change. We
    should also mention this in the release notes prelude section, but that
    will occur in the release PR.
    
    * Apply suggestions from code review
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    mtreinish and jakelishman authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    7c4cc89 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2022

  1. remove snapshot instruction from qiskit_aer (Qiskit#1591)

    * remove snapshot instruction from python
    
    * remove snapshot instructions from docs
    
    * add upgrade release note
    
    * Name specific instructions
    
    * Mention removal of qiskit_aer.extensions
    
    Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
    hhorii and jakelishman authored Sep 6, 2022
    Configuration menu
    Copy the full SHA
    7b27631 View commit details
    Browse the repository at this point in the history
  2. Add AerState that allows python access simulator state directly (Qisk…

    …it#1586)
    
    * initial input of aer runtime
    
    * support methods and refactor state classes
    
    * add AerStatevector that inherits quantum_info.states.Statevector
    
    * fix pylint errors
    
    * set default parallelization and expose last execution result
    
    * test mps
    
    * fix configure issue
    
    * cast to correct type of configuration
    
    * call set_max_matrix_qubits in AerState
    
    * support AerStatevector.evolve
    
    * resolve segfault and bugs in state_chunk
    
    * add chunk distribution support
    
    * support ndarray initialization for AerStatevector
    
    * take python parts
    
    * take a remaining python part
    
    * add runtime library test
    
    * add release note
    
    * Correctly run test in CI
    
    * add AerState
    
    * change tests to align with qiskit_aer
    
    * add init files for quantum_info
    
    * fix lint errors
    
    * add apply_global_phase
    
    * take a release note. use explicit state management. revert memory mapping from ndarray.
    
    * allow configure in intialization
    
    * refactor state classes by deleting unused methods. enabled mapping only for statevector
    
    * fix lint error
    
    * support copy of qubitvector
    
    * add move assignement operator to qubitvector
    
    * fix bug in sampling
    
    * Update qiskit_aer/quantum_info/__init__.py
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    
    * correct test cases and modified comments for AerState
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    3 people authored Sep 6, 2022
    Configuration menu
    Copy the full SHA
    27111a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Configuration menu
    Copy the full SHA
    f716673 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Add AerStatevector (Qiskit#1590)

    Add a new class AerStatevector that supports q.i.s.Statevector interface.
    This class uses an internal class AerState that directly access to Aer's
    native runtime.
    hhorii authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    b1e6a24 View commit details
    Browse the repository at this point in the history
  2. Add control-flow instruction names to basis gates (Qiskit#1599)

    This adds the Terra control-flow instructions to the custom instructions
    lists for the simulator methods that support them.  This is likely to be
    a temporary measure; as classical-processing descriptions are expanded
    in Terra, this method of describing them feels like it will become
    unworkable, but for now, this is sufficient to allow
    `qiskit.transpile(qc, AerSimulator(...))` to work as expected when there
    is control flow.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    jakelishman and hhorii authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    0260736 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff0c9cd View commit details
    Browse the repository at this point in the history
  4. Prepare 0.11.0 release (Qiskit#1601)

    * Prepare 0.11.0 release
    
    This commit prepares for the 0.11.0 release. It moves the release notes
    to a self contained directory for the release and updates the wording
    and details of the release notes. Once this commit merges it should be
    the tagged commit for the release.
    
    * Apply suggestions from code review
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    mtreinish and jakelishman authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    c6295d7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    39e8149 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

  1. Use mainlinux2010 skip CIBW tests to release packages for GPU (Qiskit…

    …#1603)
    
    * add gpu build test and enable gcc-9 for gpu builds
    
    * use manylinux2010
    
    * run scl devtoolset-9 and revert CIBW_SKIP in the last commit
    
    * do not run scl
    
    * install rust compiler for gpu build
    
    * install rust manually
    
    * install terra explicitly
    
    * install rust manually (again)
    
    * skip CI build test
    
    * skip tests only cp37
    
    * take gpu builds from CI test workflow and skip CIBW_TEST in CI deploy workflow for gpu builds
    hhorii authored Sep 16, 2022
    Configuration menu
    Copy the full SHA
    11e3a34 View commit details
    Browse the repository at this point in the history
  2. Move away from qiskit.providers.aer in 0.11 release notes (Qiskit#1604

    )
    
    The qiskit-aer release notes for 0.11 say that the release moves
    away from `qiskit.providers.aer`.  However, some of the other
    release notes for this release actually use this soon-to-be-
    deprecated import location, including one that is displayed
    before the one about the new namespace.  This fixes that
    awkwardness by using `qiskit_aer` uniformly throughout the
    0.11 release notes.
    garrison authored Sep 16, 2022
    Configuration menu
    Copy the full SHA
    22aeee5 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Configuration menu
    Copy the full SHA
    4c63b3f View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. Configuration menu
    Copy the full SHA
    bd1bfc7 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. Configuration menu
    Copy the full SHA
    5f00847 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. Fix handling of instructions with clbits in LocalNoisePass (Qiskit#1625)

    * Fix handling of instructions with clbits in LocalNoisePass
    
    * Add release note
    
    * Pin terra==0.21.2 temporarily
    itoko authored Oct 19, 2022
    Configuration menu
    Copy the full SHA
    56f5268 View commit details
    Browse the repository at this point in the history
  2. Primitives support run method in Terra 0.22 (Qiskit#1598)

    This PR is to support Primitives of Terra 0.22, which requires _run() for Sampler and Estimator.
    
    * Primitives support run method in Terra 0.22
    * add options and keys
    * fix typo
    * add deprecated decorator and deprecation
    * fix decorator
    * fix decorator
    * fix bugs
    * fix tests
    * fix tests
    * rm unnecessary files
    * add tests
    * fix tests
    * unpin terra version
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    ikkoham and hhorii authored Oct 19, 2022
    Configuration menu
    Copy the full SHA
    c241a04 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. Use AerStatevector in unittests (Qiskit#1621)

    * Fix typo
    
    * Construct AerStatevector from Statevector.data
    
    * Fix a lint error
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    derwind and hhorii authored Oct 20, 2022
    Configuration menu
    Copy the full SHA
    3f5c0d8 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Update pip install command to reference qiskit-aer (Qiskit#1627)

    Since we're moving to remove Qiskit Aer from the metapackage, we should
    update our documentation to reflect that as well.
    jakelishman authored Oct 21, 2022
    Configuration menu
    Copy the full SHA
    8c9735f View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. Sampler caches transpiled circuits (Qiskit#1618)

    Adds cache of transpiled circuits into Sampler to resolve an issue: Qiskit#1594.
    All the transpiled circuits are cached in a Sampler and reused for 2nd or later uses.
    
    Co-authored-by: Julien Gacon <gaconju@gmail.com>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    3 people authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    0222665 View commit details
    Browse the repository at this point in the history
  2. add release note for Qiskit#1598 that supports Primitive of Terra 0.22 (

    Qiskit#1628)
    
    * add release note for 1598 that supports Primitive of Terra 0.2
    
    * make release note from feature to fixes
    
    * Update releasenotes/notes/support_terra_primitive_022-8852b784608bcdcb.yaml
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    hhorii and mtreinish authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    7c8d67f View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. Reduce snapshot from cpp sources (Qiskit#1610)

    snapshot instructions were removed from python codes in 0.11. 
    This commit removes snapshot instructions from cpp codes because
    they will not be called.
    
    * reduce snapshot from cpp sources
    * reduce snapshot words from comments
    hhorii authored Nov 1, 2022
    Configuration menu
    Copy the full SHA
    18e5698 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. Fix cache_blocking transpiler to restore qubit map for AerState (Qisk…

    …it#1634)
    
    Fix a bug in AerState, which is used in AerStatevector. In simulation with multiple GPUs,
    cache blocking transpilation changes qubit mapping. This mapping was not managed in
    AerState and corrected with this commit.
    
    * fix cacheblocking to restore qubit map for AerState
    * Update a release note to write more detail.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Nov 2, 2022
    Configuration menu
    Copy the full SHA
    547ea44 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. Remove verbose warnings on parameter truncations when creating noise …

    …model from backend (Qiskit#1639)
    
    This commit removes warnings about a noise model from a backend to report un-physical device parameters (such as T2 > 2*T1 due to statistical errors in their estimation). These warnings are not actionable (so useless) for users in the sense that there are no means other than truncating them to the theoretical bounds as done within noise.device module.
    
    * Fix 1631 by removing warnings on parameter truncations
    * Add release note
    * Remove one more case printing useless warnings
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    itoko and hhorii authored Nov 7, 2022
    Configuration menu
    Copy the full SHA
    ccf69c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. Fix for GPU simulator, memory allocation (Qiskit#1650)

    With this commit, Aer allocates 80% of free memory of GPU and rest of chunks are allocated on CPU memory because some free space is necessary for Thrust. In addition, this commit includes another fix that correct maximum matrix size for noise sampling.
    
    * Fix for GPU simulator, memory allocation
    * fix calculating required memory size, reserve 512MB of memory for Thrust
    * remove debug codes
    doichanj authored Nov 10, 2022
    Configuration menu
    Copy the full SHA
    7c5962a View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. Configuration menu
    Copy the full SHA
    6e51e49 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Add support for Python 3.11 (Qiskit#1642)

    * Add support for Python 3.11
    
    Python 3.11.0 was released on 10-24-2022, this commit marks the
    start of support for Python 3.11 in qiskit. It adds the supported
    Python version in the package metadata and updates the CI
    configuration to run test jobs on Python 3.11 and build Python
    3.11 wheels on release.
    
    * Use manylinux2014 for i686 builds
    
    * install openblas manually
    
    * add cp311-manylinux to the overrides for i686 in pyproject.toml
    
    * Try omitting target for a generic i686 OpenBLAS build
    
    * Set target to pentium 3 for minimum supported ISA level
    
    * Exclude cvxpy on window 3.11 tests
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
    3 people authored Nov 18, 2022
    Configuration menu
    Copy the full SHA
    135bb7d View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2022

  1. Fix data-flow analysis in control-flow jump/mark (Qiskit#1666)

    * Fix data-flow analysis in control-flow jump/mark
    
    During the inlining of control-flow into jump/mark instructions, the
    data-flow graph was losing information.  The tree-like form within
    `QuantumCircuit` implicitly creates a basic-block structure, which
    groups the whole control-flow body into a single block that must be
    executed atomicly (as seen by the outer circuit).  When inlining the
    body, this is no longer the case, and we have to take more care to
    ensure that topological iteration through the data-flow graph does not
    accidentally move jump/mark instructions into incorrect places, nor
    allow unrelated instructions to appear between jump/mark pairs if they
    were no originally in that control-flow block.
    
    There are two components here; the former is solved by ensuring the
    jump/mark instructions span the full data width including clbits, and
    the latter is solved by placing full circuit width barriers around each
    control-flow logical component.
    
    * Fix lint
    jakelishman authored Nov 27, 2022
    Configuration menu
    Copy the full SHA
    013da9a View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. Fix SamplerResult num_clbits (Qiskit#1670)

    Behavior of Aer Sampler was different from of Terra Sampler as qiskit-terra#9178 points.
    Especially, `aer_job.result().quasi_dists[0].binary_probabilities()` did not return correct
    bitstring length. This commit fixes this issue and now results of `Sampler` of Aer and
    Terra are consistent.
    
    * use appropriate num qubits for counts
    * fix for shots is None
    * fix lint
    * add test
    * add reno
    * fix test
    
    Co-authored-by: Takashi Imamichi <imamichi@jp.ibm.com>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    3 people authored Nov 29, 2022
    Configuration menu
    Copy the full SHA
    95e5681 View commit details
    Browse the repository at this point in the history
  2. Support for initialization from Statevector (Qiskit#1644)

    This commit allows construct of `AerStatevector` directly from Terra's `Statevector`.
    
    * Support for initialization from Statevector
    * Add release note
    * Initialize with AerStatevector prior to Statevector
    * add a test to initialize with AerStatevector
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    derwind and hhorii authored Nov 29, 2022
    Configuration menu
    Copy the full SHA
    bea7375 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. Fix device noise model from BackendV2 not to have excessive quantum e…

    …rrors on measures/resets (Qiskit#1649)
    
    * Fix devide noise model from target
    
    * Add release note
    
    * Upgrade device noise models not to have errors on resets
    
    * Revert the previous upgrade and fix the bug so that the behevior is the same as for backend v1
    itoko authored Nov 30, 2022
    Configuration menu
    Copy the full SHA
    710147b View commit details
    Browse the repository at this point in the history
  2. Use more gates for AerState to call state_controller (Qiskit#1643)

    `AerStatevector` wrongly assumed that methods of `AerState` support `mc*` instructions.
    With this commit, `AerStatevector` use basic gates supported in specified method.
    
    * use more gates for AerState to call state_controller
    * take assertion for parameter checking to use IndexError and take debug codes
    * add more tests for AerStatevector
    * fix lint
    * update aer_runtime to use cu that has four parameters
    hhorii authored Nov 30, 2022
    Configuration menu
    Copy the full SHA
    86587c1 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. Fix incorrect computation of excited state population (Qiskit#1672)

    This commits fixed a bug in NoiseModel.from_backend where using the temperature kwarg with
    a non-default value would incorrectly compute the excited state population for the specified temperature.
    Previously, there was an additional factor of 2 in the Boltzman distribution calculation leading to
    an incorrect smaller value for the excited state population.
    
    * Fix a bug in computation of excited population
    * Improve reno
    * Reword reno
    itoko authored Dec 2, 2022
    Configuration menu
    Copy the full SHA
    f972102 View commit details
    Browse the repository at this point in the history
  2. Set different seed for each sampling in AerStatevector (Qiskit#1663)

    * update seed for multiple calls of sample_memory
    
    * correct seed_simulator update in AerStatevector
    
    * set seed in AerState explicitly and reuse AerState in AerStatevector for sampling
    
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    hhorii and mergify[bot] authored Dec 2, 2022
    Configuration menu
    Copy the full SHA
    a5a9ba8 View commit details
    Browse the repository at this point in the history
  3. Deprecate Python 3.7 support in Qiskit Aer (Qiskit#1671)

    * Deprecate Python 3.7 support in Qiskit Aer
    
    This commit deprecates Python 3.7 support. During the deprecation window
    we will continue to fully support Python 3.7 and test it in CI, but it will
    emit a warning that we will be removing support for 3.7 in the future to
    inform users to upgrade to Python 3.8 or newer. The removal will occur
    during a future release at some point over the summer as the upstream
    Python EoL date is in June 2023. [1]
    
    [1] https://devguide.python.org/versions/
    
    * Fix lint
    
    * Move comment before if block
    mtreinish authored Dec 2, 2022
    Configuration menu
    Copy the full SHA
    796854c View commit details
    Browse the repository at this point in the history
  4. Add ECR gate support to aer simulators (Qiskit#1674)

    * Add ECR gate support to aer simulators
    
    This commit adds support for the ECR (echo cross resonance) gate as
    described in [1] and [2] to aer. This is an entangling gate used on
    some IBM backends and being able for aer to simulate is import to be
    able to simulate those backends. Support for the gate is added to the
    density matrix, statvector, super operator, and unitary simulators.
    
    [1] https://arxiv.org/abs/2008.08571
    [2] https://qiskit.org/documentation/stubs/qiskit.circuit.library.ECRGate.html
    
    * Fix matrix definition
    
    * Add tests
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    mtreinish and hhorii authored Dec 2, 2022
    Configuration menu
    Copy the full SHA
    78deb12 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Specify package_data explicitly (Qiskit#1677)

    Currently, there are non-Python needed in the qiskit_aer package:
    `VERSION.txt` and `instructions_table.csv`. These are included in the
    wheel through the use of the `include_package_data=True` option to
    `setup()`, but scikit-build, in a deviation from setuptools' behavior,
    ends up including everything in `MANIFEST.in` when this option is used,
    as reported
    [here](scikit-build/scikit-build#590). This
    behavior results in many extraneous files being included in the wheel.
    This PR works around this quirk by explicitly including the necessary
    files with the `package_data` argument of `setup()` instead of using
    `include_package_data`.
    
    Closes Qiskit#1457
    wshanks authored Dec 5, 2022
    Configuration menu
    Copy the full SHA
    563a061 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2022

  1. Fix BackendV2 support in AerSimulator.from_backend() (Qiskit#1678)

    * Fix BackendV2 support in AerSimulator.from_backend()
    
    This commit fixes supported for insantiating a AerSimulator object with
    the from_backend() method using a BackendV2 instance. Previously this
    method pre-emptively raised an AerError as the code wasn't present to
    correctly handle creating an AerSimulator instance using the backend.
    This commit fixes this so this no longer errors and works as expected.
    
    Fixes Qiskit#1617
    
    * Use assertDictAlmostEqual in v2 tests
    mtreinish authored Dec 6, 2022
    Configuration menu
    Copy the full SHA
    63cc5a2 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. Configuration menu
    Copy the full SHA
    bd6334b View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Switch from relative to absolute imports in root qiskit_aer (Qiskit#1696

    )
    
    Previously the root of the qiskit_aer we were exporing certain modules
    and objects using relative imports to do this. However, the qiskit
    package sets up a metaimporter to redirect imports from
    qiskit.providers.aer to qiskit_aer (for backwards compatibility with the
    old aer name) the source package for these relative imports can get
    confused on subsequent imports if something also uses the legacy name
    (which qiskit itself does on it's optional imports to aer, so that it
    supports >1 version). While all the code functions correctly in this
    case Python emits a warning saying the package __spec__ doesn't match
    anymore. The simplest way to address these warnings is to use an
    absoulte import with the package name in it so there is no ambiguity in
    the source package on imports.
    
    This commit makes that change to the root of the pacakge which fixes the
    warnings. The only thing I'm not sure of is if any other relative
    imports elsewhere in the qiskit_aer package will have the same problem
    or if this is fixed by just updating the root package. We might need to
    do further testing to check.
    
    Fixes Qiskit#1692
    mtreinish authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    5a5ad82 View commit details
    Browse the repository at this point in the history
  2. Remove setup_requires and forced pip installs in setup.py (Qiskit#1693)

    * Remove setup_requires and forced pip installs in setup.py
    
    Executing manual `pip install` commands from within `setup.py` is
    somewhat frowned upon from a Python packaging perspective.  By far the
    preferred mechanism now is to clearly state the build dependencies in a
    non-code format (`pyproject.toml`), and let a PEP-517-compatible builder
    handle virtual-environment isolation and dependency management.
    
    We already had the dependencies declared statically, this commit just
    removes the residual code in `setup.py`.
    
    * Update CI build scripts
    
    * Add missing build install
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    jakelishman and hhorii authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    6bbf5f5 View commit details
    Browse the repository at this point in the history
  3. Replace IBMQ with IBM Quantum in Aer documention. (Qiskit#1691)

    * replaced IBMQ with IBM Quantum fixing Qiskit#1633
    
    * replaced IBMQ with IBM Quantum fixing Qiskit#1633
    
    * Update aer_simulator.py
    
    * Fixed IBM QUANTUM to IBM Quantum
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    AnsahMohammad and hhorii authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    a737347 View commit details
    Browse the repository at this point in the history
  4. Remove deprecated module import (Qiskit#1690)

    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    king-p3nguin and hhorii authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    3112bdc View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Remove qobj argument, deprecated in 0.8.0 (Qiskit#1635)

    * Remove qobj argument, deprecated in 0.8.0
    
    * reno
    
    * Fix typos in release note
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    3 people authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    77624de View commit details
    Browse the repository at this point in the history
  2. Fix multi-shots batched execution on GPU (Qiskit#1701)

    Batched shots execution uses classical registers on GPU memory, and memory space for creg is reserved before allocating chunks. To reserve this, bits count for classical register should be set before allocation, but bits count was not set correctly. This caused infinite loop to find available memory on GPU.
    This fix set bits count of classical register before the allocation for batched shots execution.
    
    * Fix creg bits is not set before reserving memory on GPU
    
    * added release note
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    1ddf30d View commit details
    Browse the repository at this point in the history
  3. Add NoiseModel.from_backend_properties (Qiskit#1474)

    * Add classmethod from_backend_properties for NoiseModel
    
    * Add test for NoiseModel.from_backend_propeties
    
    * Delete deperecated arguments form from_backend_properties
    
    * Shorten the document for :func:`from_backend_properties`
    
    * Add release note for `from_backendproperties`
    
    * Delete unncessary warning
    
    Co-authored-by: Toshinari Itoko <15028342+itoko@users.noreply.github.com>
    
    * Delete unncessary warning
    
    Co-authored-by: Toshinari Itoko <15028342+itoko@users.noreply.github.com>
    
    * Add type annotation for the definitiion of dt.
    
    * Delete unnecessary the `with` clouse
    
    * Change :func: to :meth:
    
    * Delete devices limitation on the docstring of from_backend_poroperties
    
    Co-authored-by: Toshinari Itoko <15028342+itoko@users.noreply.github.com>
    
    * Add the introduction of this new function at release note
    
    * Correct the main document of from_backend_properties
    
    * Add argument `dt` for `from_backend_properties`
    
    The document is based
    on https://qiskit.org/documentation/stubs/qiskit.providers.BackendV2.html#qiskit.providers.BackendV2.
    
    * Correct docstring for Exception in `from_backend_properties`
    
    * Add trucate_t2_value to get delay_pass in `from_backend_properties`
    
    * format code
    
    * change dt: float =0 to dt: Optional[float] = None
    
    Co-authored-by: Toshinari Itoko <15028342+itoko@users.noreply.github.com>
    
    * Change document of the dafulat value of dt to None.
    
    Co-authored-by: Toshinari Itoko <15028342+itoko@users.noreply.github.com>
    
    * Correct docstring to add the description of `dt`.
    
    * Correct docstring to explicitly show the argument gate_lengths and dt is Optional.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: Toshinari Itoko <15028342+itoko@users.noreply.github.com>
    3 people authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    6a22b3c View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. Add __init__.py to run tests for terra.states (Qiskit#1673)

    * Add __init__.py to run tests for terra.states
    
    * Update tests to follow Qiskit/qiskit#8273
    
    * Install matplotlib for plot_state_qsphere according to CI log
    
    * Install seaborn for plot_state_qsphere according to CI log
    
    * Fix suppressions for Jupyter warnings
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    derwind and hhorii authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    2b5c43c View commit details
    Browse the repository at this point in the history
  2. Guarantee ndarray contiguity (Qiskit#1685)

    * Guarantee np.ndarray contiguity
    
    * Add __init__.py to run tests for terra.states
    
    based on the approval in Qiskit#1673
    
    * Guarantee np.ndarray contiguity if not
    
    * Install matplotlib for plot_state_qsphere according to CI log
    
    * Addressed pylint's point (W0621)
    
    * Install seaborn for plot_state_qsphere according to CI log
    
    * Fix typo: Install seaborn for plot_state_qsphere according to CI log
    
    * Fix suppressions for Jupyter warnings
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    derwind and hhorii authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    99deab0 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Fix test_aer_statevector (Qiskit#1710)

    * fix test_aer_statevector
    
    * add plot directive to docs
    
    * fix test_aer_statevector and remove reno
    
    Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
    doichanj and hhorii authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    f0e87a2 View commit details
    Browse the repository at this point in the history
  2. Add release note (Qiskit#1705)

    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    derwind and hhorii authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    b6787ad View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Implement GPU tensor network simulator by using cuTensorNet (Qiskit#1637

    )
    
    * Implement tensor network simulator by using cuTensorNet
    
    Implementing general tensor network simulator for GPU accelerated by
    NVIDIA's cuTensoNet APIs of cuQuantum SDK. Any quantum circuits can
    be translated into tensor network and can be simulated.
    This method supports both statevector and density matrix simulations,
    noise simulation can be done by single shot with density matrix
    if there is no save_statevector operation.
    This method supports parallelization by multiple GPUs and MPI processes
    by using tensor network slicing technique.
    
    * fix aer_simulator.py
    * return values in TensorNetContractorDummy
    * Fix for cuQuantum 22.11.0
    * remove dependencieis to shot branching
    * fix test cases, remove remaining shot-branching options
    * add release note, fix available_methods to handle tensor_network
    * fix available_methods
    * spdlog version
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Jan 30, 2023
    Configuration menu
    Copy the full SHA
    66fc415 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Configuration menu
    Copy the full SHA
    214f823 View commit details
    Browse the repository at this point in the history
  2. Remove deprecated methods and args in Primitives (Qiskit#1711)

    `BaseSampler` and `BaseEstimator` in terra deprecated circuits, observables and
    parameters as arguments for their constructors. They will be reduced in the next
    release of terra (0.24). Because it took three months since terra started warning of
    deprecation for these arguments, Aer reduces them from their arguments before
    terra's PR (Qiskit/qiskit#9480) is released.
    
    * Remove deprecated methods and args in Primitives
    * add reno
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    ikkoham and hhorii authored Jan 31, 2023
    Configuration menu
    Copy the full SHA
    60cd79e View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. Configuration menu
    Copy the full SHA
    dca1c46 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. MPS: Changed the apply_measure algorithm (Qiskit#1713)

    Changed the apply_measure algorithm so that it does not move the qubits to the sorted positions before measuring. Instead, we measure the qubits in the order of the current MPS structure and then sort the measurement outcomes as a post-process. Beside fixing the issue, this is expected to improve performance and enable more accurate representation of entangled states. 
    
    * Changed the apply_measure algorithm so that it does not move the qubits to the sorted order before measurement. Instead it sorts the measurement outcomes as a post-processing step.
    
    * Update releasenotes/notes/mps_fix_apply_measure-84c29a728ae0e717.yaml
    
    Co-authored-by: Yael Ben-Haim <yaelbh@il.ibm.com>
    
    * Update src/simulators/matrix_product_state/matrix_product_state_internal.cpp
    
    Co-authored-by: Yael Ben-Haim <yaelbh@il.ibm.com>
    
    * Update src/simulators/matrix_product_state/matrix_product_state_internal.cpp
    
    Co-authored-by: Yael Ben-Haim <yaelbh@il.ibm.com>
    
    * Added const to the new methods. Added comment to sort_qubits_by_ordering
    
    * Added comments with examples
    
    ---------
    
    Co-authored-by: Yael Ben-Haim <yaelbh@il.ibm.com>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    3 people authored Feb 7, 2023
    Configuration menu
    Copy the full SHA
    63108b3 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. Support kraus operation in AerStatevector (Qiskit#1662)

    `AerStatevector` supports `kraus` gate that applies one of the Kraus operators is applied randomly
    to the quantum state based on the error probabilities.
    
    * use more gates for AerState to call state_controller
    * take assertion for parameter checking to use IndexError and take debug codes
    * add more tests for AerStatevector
    * fix lint
    * update aer_runtime to use cu that has four parameters
    * update seed for multiple calls of sample_memory
    * correct seed_simulator update in AerStatevector
    * support kraus in AerStatevector
    * add release note
    * slightly simplify test_kraus for AerStatevector
    * Fix a test
    - The correct answers are made from an error-free circuit
    - Take global phases into account
    * fix test for AerStatevector
    * Update releasenotes/notes/support_kraus-ec31e636c6793b8c.yaml
    
    ---------
    
    Co-authored-by: derwind <uncertainty_principle_ss@yahoo.co.jp>
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    3 people authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    f2e57b5 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

  1. support break_loop and continue_loop (Qiskit#1719)

    `AerSimulator` supports `break_loop` and `continue_loop` instructions when used
    as backends for the Terra `qiskit.compiler.transpile` function.  The simulators already
    did support these, but had just not been reporting it.
    
    * support break_lopp and continue_loop
    * add reno
    * move break_loop and continue_loop from BASIS_GATES to _CUSTOM_INSTR
    * Update releasenotes/notes/support_break_and_continue_gates-bf30316fcacd4b6b.yaml
    * run break_loop and continue_loop instructions in test
    ---------
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    hhorii authored Feb 10, 2023
    Configuration menu
    Copy the full SHA
    3e65d38 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. Optimization of stabilizer simulator (Qiskit#1715)

    Optimizes stabilizer simulator performance by changing data layout of its state.
    Most of its data access become contiguous and CPU cache effectively work for it.
    In addition, integer bit operations are refactored for performance.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Feb 13, 2023
    Configuration menu
    Copy the full SHA
    fe904e0 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. Add abelian_grouping to Estimator (Qiskit#1716)

    Add support of abelian_grouping for Estimator.  
    In default, Estimator groups the qubit-wise commutable observables to improve performance 
    by reducing the number of circuits to be simulated.
    
    * Add abelian_grouping option.
    * refactor
    * refactor
    * ignore W503 in pycodestyle
    * add reno
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    ikkoham and hhorii authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    91a35a3 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Fix AerError in Estimator to warn (Qiskit#1727)

    Correct API break due to Qiskit#1716 Add abelian_grouping to Estimator.
    abelian_grouping an argument of the constructor of Estimator is ignored
    if approximation an other argument of the constructor is True.
    
    * AerError to warn
    * warn to docstring
    * rm warn
    * add test
    ikkoham authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    fef8355 View commit details
    Browse the repository at this point in the history
  2. [perf] improve _convert_circuit_binds (Qiskit#1726)

    Improves performance to convert parameter structure for Aer's bindings.
    Aer uses index-based parameter-bindings that specify position of value 
    in gate array and parameter arrays. Qiskit uses a dict that associate 
    `Parameter`s with values. That is, Aer converts the dict-based to Aer's bindings
    while resolving `ParamterExpression` by setting specified values.
    Previously, the logic of this conversion was not efficient to resolve 
    `ParameterExpression` with redundant value specification. With this commit,
    values are efficiently selected and performance to resolve `ParamterExpression`
    is improved. Consequently, performance to simulate parameterized circuits will be 
    improved.
    
    * improve _convert_circuit_binds
    * add error message
    * add test
    ikkoham authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    af635fd View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Pin the version of conan with 1.X to work around API changes in conan…

    … 2.0 (Qiskit#1729)
    
    Specify a version of conan to build Aer with 1.X.
    This is a quick fix to work around an issue related to API changes in conan 2.0.
    
    * fix conan version
    * add reno and allow the latest 1.X of Conan
    hhorii authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    18dcf32 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Deprecate PulseSimulator backend (Qiskit#1728)

    * Deprecate PulseSimulator backend
    
    This commit deprecates the PulseSimulator backend for qiskit aer. For
    the past several releases development on the pulse simulator has mostly
    been frozen as the combined efforts for improving pulse level simulation
    have been working on Qiskit Dynamics instead. This commit marks the
    legacy PulseSimulator as deprecated and points existing users to Qiskit
    Dynamics instead.
    
    Closes Qiskit#1722
    
    * handle deprecation of pulse simulation in tests
    
    ---------
    
    Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    3 people authored Feb 24, 2023
    Configuration menu
    Copy the full SHA
    e869d90 View commit details
    Browse the repository at this point in the history
  2. Add initialize_density_matrix() into AerState to set initial data…

    … of density matrix (Qiskit#1616)
    
    Adds `initialize_density_matrix()` that allows `AerState` to initialize its density matrix.
    This new function is not public and will not affect any public interface of Aer.
    
    Co-authored-by: Ikko Hamamura <ikkoham@users.noreply.github.com>
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    Co-authored-by: derwind <uncertainty_principle_ss@yahoo.co.jp>
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    5 people authored Feb 24, 2023
    Configuration menu
    Copy the full SHA
    331dbb3 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Fix for BLA_VENDOR when compiling from source (Qiskit#1731)

    This commit allows developers to build custom blas libtaries with BLA_VENDOR.
    Previously, this BLA_VENDOR was always set to OpenBLAS and other blas
    libraries were only set if OpenBLAS is not found. 
    
    * fix conan version
    * add reno and allow the latest 1.X of Conan
    * fix_blas_vendor: set properly a specified BLAS type
    * fix_blas_vendor: add release note
    ---------
    
    Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
    acastanedam and hhorii authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    5cbeea0 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Implement AerDensityMatrix (Qiskit#1732)

    Provides `AerDensityMatrix` that inherits `qiskit.quantum_info.states.DensityMatrix` with
    Aer's kernel to calculate density matrix for a `QuantumCircuit`. 
    
    * Implement AerDensityMatrix and its tests
    * Add a release note
    * Add 2023 to Copyright
    * Update explanation for data
    * Fix lint errors
    * Fix a lint error
    * Set different seed for each sampling in AerDensityMatrix
    derwind authored Feb 28, 2023
    Configuration menu
    Copy the full SHA
    84e274f View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Remove deprecated functions in noise module (Qiskit#1624)

    Remove deprecated functions in noise module, e.g. NoiseModel.add_nonlocal_quantum_error, support of json-like input for QuantumError and standard_gates argument in many standard_errors.
    Note that NoiseModel.from_dict is NOT removed exceptionally until alternative methods for serialize/deserialize NoiseModel objects are provided.
    
    * Remove deprecated functions related with NoiseModel
    * Remove deprecated functions in QuantumError
    * Remove deprecated functions in utils
    * Remove deprecated errorutils
    * Remove deprecated arguments of functions in standard_erros
    * Update tests not to use deprecated functions
    * Lint
    * Add release note
    * Fix a mistake in warnings
    * Improve release note
    * Fix typos
    * Move imports to the top level
    * Fix docs and lint
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    itoko and hhorii authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    380743a View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Add docs publishing job (Qiskit#1589)

    This commit adds a new CI job for publishing documentation on release.
    Now that qiskit-aer is a self contained package with it's own namespace
    the documentation build no longer needs to be combined into the main
    qiskit docs anymore. As such this commit will enable aer ci to publish
    built documentation for the project to:
    
    https://qiskit.org/documentation/aer
    
    on every release.
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    mtreinish and hhorii authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    df8e1c9 View commit details
    Browse the repository at this point in the history
  2. Simulate QuantumCircuit without QObj (Qiskit#1717)

    With this commit, Aer simulates `QuantumCircuit` without converting it to QObj.
    Previously, QObj is generated from `QuantumCircuit` objects in python, and then
    C++ parses QObj to construct own circuit representation `AER::Circuit` for simulation.
    Now, Aer binds this `AER::Circuit` with a python class `AerCircuit` and directly
    generates from `QuantumCircuit` to `AerCircuit`. In addition, configuration for simulation
    is changed from json to `AerConfig` that be bound to `AER::Config`.
    This commit will improve performance of low-qubit simulation without any modification
    of application codes.
    
    * add AerCircuit and a path to run simulation without QObj
    * Remove AerOp from AerCircuit
    * fix lint errors
    * revert qobj deprecation
    * fix executor specification in AerBackend
    * fix bugs in direct execution
    * set final operation in AerCircuit
    * fix lint errors
    * use AerJob and add reno
    * support directly-added qubits
    * fix qobj execution
    * fix qobj execution, contd.
    * fix set state with a matrix
    * inline malloc in matrix
    * rename malloc_array in AER::Vector to resolve conflicts of signature
    * rename methods to handle QuantumCircuit in AerBackend and deprecate AerJob.qobj()
    * simplify AerCircuit
    * avoid pickling of AerCircuit in assemble_circuits
    * back _execute_circuits as abstract method
    * introduce AER::Config to reduce JSON overheads for configuration
    * fix a bug in get_value to load config
    * enable AerConfig
    * fix lint
    * deprecate backend.run(validate=True) and clean codes in AerBackend
    * add assertion in test_auto_method
    * fix bugs in last commits
    * correct test cases to test auto option
    hhorii authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    8501fd1 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. add docs for density matrix (Qiskit#1738)

    Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
    hitomitak and hhorii authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    bc794b7 View commit details
    Browse the repository at this point in the history
  2. Use qiskit_sphinx_theme for API doc (Qiskit#1733)

    * Update sphinx theme
    
    * add sphinx.ext.intersphinx for links to qiskit api
    
    * clean up requirements-dev.txt for docs
    
    * reduce tabs from docs
    
    * reduce gallery.css
    
    * Update sphinx theme
    
    * clean up docs conf
    
    * modify docs conf
    
    ---------
    
    Co-authored-by: Hitomi Takahashi <hitomi@jp.ibm.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    3 people authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    4aea816 View commit details
    Browse the repository at this point in the history
  3. Prepare 0.12.0 release (Qiskit#1739)

    * Prepare 0.12.0 release
    
    This commit prepares for the 0.12.0 release. It moves the release notes
    to a self contained directory for the release and updates the wording
    and details of the release notes. Once this commit merges it should be
    the tagged commit for the release.
    
    * Add aer density matrix release note
    
    * Apply suggestions from code review
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    
    * Update releasenotes/notes/0.12/add-NoiseModel-from_backendproperties-1a3d6d976133a661.yaml
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    
    * Update releasenotes/notes/0.12/tensor_network_gpu-e8eb3e40be3c35f7.yaml
    
    * Use full path for intersphinx refs
    
    ---------
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    mtreinish and jakelishman authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    909f216 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Bump version string post release (Qiskit#1740)

    Now that qiskit-aer 0.12.0 is out the door we should bump the version
    string on main to show that the version we're installing is newer
    than what's been released. This commit opens development for 0.13.0
    on the main branch.
    mtreinish authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    b0056e8 View commit details
    Browse the repository at this point in the history
  2. Remove redundant wheel dep from pyproject.toml (Qiskit#1741)

    Remove the redundant `wheel` dependency, as it is added by the backend automatically.
    
    Listing it explicitly in the documentation was a historical mistake and has been fixed since,
    see: [pypa/setuptools@f7d30a9](pypa/setuptools@f7d30a9).
    
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    thesamesam and mergify[bot] authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    dea318e View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. add code-formatting with black for python and with clang-format for c…

    …++ (Qiskit#1630)
    
    * add black and clang-format
    
    * apply black and clang-format
    
    * manually format codes that were not covered in black and clang-format
    
    * add targets of clang-format and clean up tox.ini
    
    * apply black with new configuration
    
    * Update CONTRIBUTING.md
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    
    * Update .github/workflows/tests.yml
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    
    * reformat qiskit_aer, test, tools, and setup.py with length 100
    
    ---------
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    hhorii and mtreinish authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    85f4c1d View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Add git blame ignore file (Qiskit#1745)

    This commit adds a new file with the SHA1 of commits to ignore when
    running git blame. This is important because of the recent adoption of
    black and clang-format as our code formatting tool in Qiskit#1630 we caused a
    large amount of code churn to change the code formatting. However, using
    the ignore file is a local opt-in feature for git and not something we
    can enable globally by default. To facilitate this a section is added to
    the bottom of the contributing guide to document how this file can be
    used.
    mtreinish authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    f678d34 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. deploy documentation in qiskit.org/ecosystem (Qiskit#1748)

    * deploy documentation in qiskit.org/ecosystem
    
    * comment
    1ucian0 authored Mar 16, 2023
    Configuration menu
    Copy the full SHA
    385d835 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2023

  1. Remove a release note in an invalid location (Qiskit#1750)

    Essentially equivalent content is already incorporated in Qiskit#1739.
    derwind authored Mar 18, 2023
    Configuration menu
    Copy the full SHA
    ed792f5 View commit details
    Browse the repository at this point in the history
  2. Fix how to reference to config.cuStateVec_enable (Qiskit#1749)

    * Fix how to reference to config.cuStateVec_enable
    
    * Add a release note
    
    * Update fix-cuStateVec_enable-0936f2269466e3be.yaml
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    3 people authored Mar 18, 2023
    Configuration menu
    Copy the full SHA
    e72dcef View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. use omp_set_max_active_levels instead of omp_set_nested (Qiskit#1752

    )
    
    omp_set_nested was deprecated since OpenMP 3.0 and this commit
    replaces it with omp_set_max_active_levels.
    
    * use omp_set_max_active_levels instead of omp_set_nested
    * use omp_set_nested in WIN
    * Update releasenotes/notes/use_omp_set_max_active_levels-7e6c1d301c4434a6.yaml
    * use _OPENMP to select omp_set_max_active_levels or omp_set_nested
    ---------
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    hhorii and jakelishman authored Mar 23, 2023
    Configuration menu
    Copy the full SHA
    093dc28 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Ensure QuantumCircuit.metadata is always a dict (Qiskit#1761)

    * Ensure QuantumCircuit.metadata is always a dict
    
    This is for compatibility with Qiskit/qiskit#9849
    
    * fix order
    
    * fix typo :(
    
    * revert object->object() change
    
    * make backportable
    ihincks authored Mar 27, 2023
    Configuration menu
    Copy the full SHA
    3a8e1bb View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. Correct a type of variance from complex to real (Qiskit#1767)

    Previously Aer Estimator wrongly returned a complex value as variance of estimation values.
    This commit fixes this behavior to return a real value.
    ikkoham authored Mar 29, 2023
    Configuration menu
    Copy the full SHA
    826eaf2 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Add Tutorials to Documentation Page (Qiskit#1768)

    * Add tutorials
    
    * Add pandoc installation
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    hitomitak and hhorii authored Apr 5, 2023
    Configuration menu
    Copy the full SHA
    4daedf7 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Defer gathering backends until they are needed (Qiskit#1760)

    * Defer gathering backends until they are needed
    
    * Disable the not-an-iterable warning
    
    Pylint infers _get_backends to always return None, even if we add type
    annotations. Suppress the warning.
    
    * Add @staticmethod to AerProvider._get_backends
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    SquidDev and hhorii authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    7a5609c View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Fix wrong set of parameters in circuits with barriers (Qiskit#1775)

    * Fix wrong set of parameters in circuits with barriers
    
    `AerCircuit` is created from a circuit by iterating its instrucitons
    while skpping barrier. This leads inconsistency with positions of
    parameter bindings. This commit adds barrier instruction to the class
    and keeps positions of parameter bindings.
    
    * fix lint error in test
    
    * remove unused variable in test
    hhorii authored Apr 12, 2023
    Configuration menu
    Copy the full SHA
    a8c1969 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Add API docs for QuantumCircuit methods (Qiskit#1753)

    * Add new doc for circuit method apis
    
    * Remove QuantumCircuit description
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    hitomitak and hhorii authored Apr 18, 2023
    Configuration menu
    Copy the full SHA
    d5607a8 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. Resolve regression from introduction of AER::Config (Qiskit#1747)

    This commit reduces redundant copy in `AER::Transpile::CircuitOptimization`.
    Since 0.12.0, configuration is `AER::Config` instead of `json_t`. This new class
    has many fields and then its copy overheads become high. Reduction of
    redundant copy improves performance especially for low-qubit simulation.
    hhorii authored Apr 20, 2023
    Configuration menu
    Copy the full SHA
    abaf012 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Remove REQUIRED to find PythonLibs in FindPybind11 (Qiskit#1786)

    * pin the version of scikit-build to 0.17.2
    
    * Pin scikit-build version by 0.17.2
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    
    * remove REQUIRED to find PythonLibs in FindPybind11
    
    ---------
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    hhorii and mtreinish authored May 1, 2023
    Configuration menu
    Copy the full SHA
    ae475cc View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Remove Sampler.close, assert DeprecationWarning of opflow, and update…

    … dependency (Qiskit#1804)
    
    Since qiskit-terra 0.24, `Sampler` does not have `close()` but Aer's `Sampler` still have the method. This commit takes the method as well as upgrade of Python versions in tutorial tests from 3.7 to 3.8.
    
    * rm close
    * assert DeprecationWarning
    * update dependency
    ikkoham authored May 10, 2023
    Configuration menu
    Copy the full SHA
    df88f66 View commit details
    Browse the repository at this point in the history
  2. Fix setting MPI processes and ranks (Qiskit#1808)

    0.12.0 accidentally removed MPI support if application does not use qobj. This commit reverts the change.
    doichanj authored May 10, 2023
    Configuration menu
    Copy the full SHA
    b4c417b View commit details
    Browse the repository at this point in the history
  3. Fix library path to cuQuantum and cuTENSOR (Qiskit#1801)

    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored May 10, 2023
    Configuration menu
    Copy the full SHA
    8faea13 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Activate jQuery in docs (Qiskit#1802)

    Sphinx 6 no longer activates jQuery by default but `qiskit_sphinx_theme` still uses it.
    This commits enables jQuery by adding the theme to extensions in conf.py.
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Eric-Arellano and hhorii authored May 12, 2023
    Configuration menu
    Copy the full SHA
    218773d View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. Support SwitchCaseOp that will be released in qiskit-terra 0.24.0 (Q…

    …iskit#1778)
    
    * Add support of `SwitchCaseOp`
    
    Qiskit-Terra added a new instruction of control-flow `SwitchCaseOp`.
    This commit enables Aer to simulate `SwitchCaseOp` by converting
    its conditions and bodies with `AerMark` and `AerJump`.
    
    * add switch_case temporarily until qiskit-terra 0.24.0 is released.
    * simplify switch compilation
    * use SwitchCaseOp of terra
    * fix lint errors
    hhorii authored May 16, 2023
    Configuration menu
    Copy the full SHA
    52f829a View commit details
    Browse the repository at this point in the history
  2. fix cuQuantum static linking (Qiskit#1812)

    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored May 16, 2023
    Configuration menu
    Copy the full SHA
    b05a92d View commit details
    Browse the repository at this point in the history
  3. Update standard_errors.py (Qiskit#1799)

    There was a typo in the rendering of the mathematical text on Depolarizing Error Page (https://qiskit.org/ecosystem/aer/stubs/qiskit_aer.noise.depolarizing_error.html)
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    3 people authored May 16, 2023
    Configuration menu
    Copy the full SHA
    416ee0a View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Add implicit cast of argument types (Qiskit#1770)

    * Add implicit cast of argument types
    
    Since 0.12.0, AerConfig is used to configure simulation, which
    is directly bound to a AER::Config object through pybind.
    This change requires application to specify strictly correct types
    of configuration options. This commit allows implicit casting
    to arguments if application specifies them with wrong types.
    This commit resolves Qiskit#1754.
    
    * does not warning in cast of numpy classes if they are compatible with expected type
    * fix lint issue
    * simplify class checking
    hhorii authored May 17, 2023
    Configuration menu
    Copy the full SHA
    e994e16 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Fix handling of None in noise model construction from BackendV2 (Qisk…

    …it#1818)
    
    Fixes `NoiseModel.from_backend` not to fail when calling it with a V2 backend having
    faulty qubits such that T1 and T2 are `None` in the `target.qubit_properties`. 
    
    * fix handling of None in noise model construction from BackendV2
    * add reno
    * simplify a bit
    * update docs
    itoko authored May 22, 2023
    Configuration menu
    Copy the full SHA
    97ea28f View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Add Getting Started page (Qiskit#1780)

    This commit adds documentation "Getting Started" page.
    
    * Add Get Started page
    * Remove unused class
    
    ---------
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    hitomitak authored May 30, 2023
    Configuration menu
    Copy the full SHA
    bd8d598 View commit details
    Browse the repository at this point in the history
  2. avoid kernel crash from blas call errors (Qiskit#1791)

    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    hhorii and mergify[bot] authored May 30, 2023
    Configuration menu
    Copy the full SHA
    9c5d8a3 View commit details
    Browse the repository at this point in the history
  3. fix fail of qobj run without run_options (Qiskit#1792)

    * fix fail of qobj run without run_options
    
    * fix lint error
    
    ---------
    
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    hhorii and mergify[bot] authored May 30, 2023
    Configuration menu
    Copy the full SHA
    2f440a3 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. Support parameterized global phase (Qiskit#1814)

    * Support parameterized global phase
    
    Though `ParameterExpression` can be set to `QuantumCircuit.global_phase`,
    Aer does not bind parameter values to it in simulation phase. This commit fixes
    this problem by resolving values of `global_phase` with specified `parameter_binds`
    in `AerSimulator.run`.
    
    * define AER::CONFIG::GLOBAL_PHASE_POS and its pybind
    * fix lint issues
    ---------
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    hhorii authored May 31, 2023
    Configuration menu
    Copy the full SHA
    72b8693 View commit details
    Browse the repository at this point in the history
  2. check parameter_binds arguments for parameterized circuits (Qiskit#1817)

    Aer raises an error if `parameter_binds` is not specified though circuits have parameters.
    This resolves the following issue:
    Qiskit#1773
    hhorii authored May 31, 2023
    Configuration menu
    Copy the full SHA
    35037b2 View commit details
    Browse the repository at this point in the history
  3. Set the number of qubits with the coupling map (Qiskit#1825)

    * Set n_qubits from coupling map
    
    * Add a test and release notes
    
    * Fix lint
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    hitomitak and hhorii authored May 31, 2023
    Configuration menu
    Copy the full SHA
    45cd91b View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Fixing some typos (Qiskit#1827)

    * Update aer_densitymatrix.py
    
    * Update aer_statevector.py
    
    * Update README.md
    
    * Update CONTRIBUTING.md
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Innanov and hhorii authored Jun 1, 2023
    Configuration menu
    Copy the full SHA
    be9e0b4 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Use transpile and run instead of execute in docstring (Qiskit#1830)

    * use transpile and run instead of execute in docstring
    
    * use backend.run instead of execute in README
    
    * use fake_provider for noise_model example
    
    * Revert edits on README.md
    
    * Update examples in docstring for qiskit_aer.noise
    
    * Fix depolarizing noise model example
    
    * Remove incorrect markup in noise/__init__.py
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    dakk and hhorii authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    dfe5c30 View commit details
    Browse the repository at this point in the history
  2. Fix typos in aer_simulator, qasm_simulator docs (Qiskit#1833)

    * Fix typos.
    
    * Add missing aer_simulator options.
    
    * Update reference to SaveProbabilities according comment to PR.
    TerraVenil authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    a7c73e6 View commit details
    Browse the repository at this point in the history
  3. Fix Renew example codes in README Qiskit#1806: qiskit.providers.ibmq …

    …is deprecated; ibmq_athens is not available (Qiskit#1831)
    
    * Fix REAM Qiskit#1896 qiskit.providers.ibmq is deprecated;
    
    * In README example, simplify code to get aersim_backend
    
    * Update README.md remove shots=1000
    
    * use FakeManilaV2
    
    * Update README.md import Fake backend in the beginning
    
    * Update README.md remove unneeded IBM_Providers import.
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    davidlearn and hhorii authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    ff2b835 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    52f3082 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Warn if approximation=False and shots=None in Estimator (Qiskit#1823)

    * fix 1820
    
    * rm unnecessary comment
    
    * update docs
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    ikkoham and hhorii authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    c382963 View commit details
    Browse the repository at this point in the history
  2. Fix the grouping index bug in Estimator (Qiskit#1839)

    * Fix the bug
    
    * lint
    ikkoham authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    77afd1f View commit details
    Browse the repository at this point in the history
  3. Validate parameters of each gate in a circuit (Qiskit#1834)

    This commit adds checks of arguments (A number of qubits, clbits,
    and parameters) for each gate to prevent from unexpected memory access
    when a user defines wrong custom gate with a number of a standard gate.
    
    * validate parameters of each gate in a circuit
    * fix lint error
    * fix lint error
    hhorii authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    bd13097 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Do not use circuit metadata to internally manage simulation results (Q…

    …iskit#1772)
    
    * Stop using circuit metadata to internaly manage simulation results
    
    This fixes `AerSimulator` to use circuit metadata to maintain mapping
    from input and output of an executor call. This fixes an issue
    Qiskit#1723.
    
    * add index of AER::Circuit and ExperimentResult
    
    * add a link to an input circuit in each experiment result
    hhorii authored Jun 7, 2023
    Configuration menu
    Copy the full SHA
    46edd64 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Configuration menu
    Copy the full SHA
    4c13278 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Batch QuantumCircuit with multiple parameter_binds (Qiskit#1840)

    `Estimator` in Aer did not use parameter bindings appropriately. Backend is called multiple times 
    to simulate a circuit with multiple parameter-sets. This commit is to call backend once for multiple
    parameter-sets for a circuit.
    
    * WIP
    * refactor
    * lint
    * add reno
    ikkoham authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    9a990ee View commit details
    Browse the repository at this point in the history
  2. *Support initialize with int (Qiskit#1841)

    Previously `QuantumCircuit.initialize` was not correctly preocessed
    if initial state is specified with single `int` value. This commit
    fixes this issue by decomposing initialize instructions.
    hhorii authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    081cda6 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Remove AerCircuit from result of backend.run() (Qiskit#1845)

    * take AerCircuit from _metadata in experiment result
    
    * add reno
    
    * Fix rST formatting
    
    ---------
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    hhorii and jakelishman authored Jun 13, 2023
    Configuration menu
    Copy the full SHA
    2451562 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Configuration menu
    Copy the full SHA
    b78e094 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. Fix a bug in aer_apply_measure in libaer and enable libaer build in…

    … Mac (Qiskit#1860)
    
    * support all platform for libaer. fix a bug in aer_apply_measure in libaer
    
    * build libaer only in Linux and Darwin
    hhorii authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    a20fba8 View commit details
    Browse the repository at this point in the history
  2. Fix param positions for circuits with conditionals (Qiskit#1851)

    * fix parameter indexing issues.
    
    * fix issues in parameterization of global phase
    
    * add reno
    
    * fix lint
    
    * fix release note
    
    * fix a bug to call _convert_circuit_binds
    
    * add test
    hhorii authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    7161319 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. Support save_statevector for QuantumCircuit from QASM3 string (Qiskit…

    …#1846)
    
    * Support save_statevector for QuantumCircuit from QASM3 string
    
    * add qiskit_qasm3_import to requirements-dev.txt
    
    * simplify default_qubits()
    
    * fix lint error
    
    * skip qasm3 circuit test in 3.7
    hhorii authored Jul 10, 2023
    Configuration menu
    Copy the full SHA
    53907f2 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. New GPU binaries with cuQuantum support (Qiskit#1854)

    * New GPU binaries with cuQuantum support
    
    * format setup.py
    
    * remove testpipy settings
    
    * Update setup.py to use numpy with version lower than 1.25
    
    * changed package names, qiskit-aer-gpu for CUDA12, and qiskit-aer-gpu-cu11 for 11
    
    * format setup.py
    
    * Update README.md
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    
    * Update releasenotes/notes/renew_gpu_binaries-2cf3eba0853b8407.yaml
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    
    * update release note
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    3 people authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    2d2ca2d View commit details
    Browse the repository at this point in the history
  2. bump up python version from 3.7 to 3.8 to run cibuildwheel (Qiskit#1867)

    * bump up python version from 3.7 to 3.8 to run cibuildwheel
    
    * bump up all python version in deploy workflow
    hhorii authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    2e7fef5 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. set numpy version constraint only in dev (Qiskit#1871)

    * add numpy version constraint only in dev
    
    * set numpy version constraint in contraints.txt
    hhorii authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    2b01b45 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Remove Python 3.7 from Github actions (Qiskit#1819)

    Since 0.13.0, Aer does not support Python 3.7.
    This commit removes github actions for CI.
    
    * Removing python 3.7 from test workflow
    * Removing python 3.7 from build workflow
    * Removing python 3.7 from deploy workflow
    * Removing python 3.7 from tox
    * revert
    * Remove python 3.7 from pyproject.toml
    * Remove python 3.7 from pyproject.toml - tool
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    tungbq and hhorii authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    40d59ef View commit details
    Browse the repository at this point in the history
  2. Fix missing dynamic link path for CUDA runtime and cuQuantum libraries (

    Qiskit#1877)
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    500cd41 View commit details
    Browse the repository at this point in the history
  3. Fix OpenMP nested parallel (Qiskit#1880)

    * Fix OpenMP nested parallel
    
    * add comment in release note
    
    * fix true and false
    
    * fix format
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    0c03c3a View commit details
    Browse the repository at this point in the history
  4. Support u3 gate application in Aer runtime API (Qiskit#1876)

    * Support u3 gate application
    
    * Apply clang-format
    
    * Revert clang-format for aer_runtime_api.h
    
    * Add release note
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    3 people authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    953bc4a View commit details
    Browse the repository at this point in the history
  5. Fix required_memory_mb (Qiskit#1881)

    * Fix required_memory_mb
    
    * add release note
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    b4ebb73 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Remove PulseSimulator (Qiskit#1884)

    Since 0.12, Qiskit-Aer notices deprecation warnings to use of PulseSimulato. Because 0.13 will be released after +3 months since 0.12 was released, Qiskit-Aer will stop supports of pulse simulation.
    
    * first pass at removing pulse simulator
    * autoformat with black
    * remove ref to aer pulse in docs
    * fix lint issues
    * remove pulse rst
    * remove pulse tests
    * add release note
    * remove open pulse from CMakeLists.txt
    * remove pulse tests
    * remove remaining pulse codes
    
    ---------
    
    Co-authored-by: AngeloDanducci <angelo.danducci.ii@ibm.com>
    hhorii and AngeloDanducci authored Aug 2, 2023
    Configuration menu
    Copy the full SHA
    6f6754d View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Fix an issue in aer_state_initialize() of C API (Qiskit#1885)

    Correct C API `aer_state_initialize` to take an argument of `handler`.
    
    * update aer_state_initialize API
    * add reno
    hhorii authored Aug 3, 2023
    Configuration menu
    Copy the full SHA
    db34358 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Configuration menu
    Copy the full SHA
    f6a4d29 View commit details
    Browse the repository at this point in the history
  2. Adding circuit executor classes and shot-branching (Qiskit#1766)

    * adding executor classes for parallel simulations
    
    * fix merge conflicts
    
    * simplify sub-classes
    
    * fix unformatted code
    
    * fix unformatted code again
    
    * Fix MPI code
    
    * Fix shot-branching was not enabled with noise sampling
    
    * Fix clang format
    
    * set_num_qubits to virtual function to set correct num qubits on matrix
    
    * reflecting review comments
    
    * reuse of random number generator
    
    * recover save_data_per_shot
    
    * add missed omp threads setting in statevector, change class hieralchy
    
    * Fix performance issue of GPU shot-branching
    
    * move fusion outside of loop for non noise dynamic circuits
    
    * fix shot-branching options in aer_compiler.py
    
    * save codes before merge
    
    * Fix format
    
    * Fix multi-chunk with cuStateVec
    
    * format
    
    * format
    
    * add better multi-GPU distribution for shot-branching
    
    * fix format
    
    * Changed option shot_branching_enable=False by default, add shot_branching_sampling_enable (False by default), add test cases for shot-branching
    
    * format
    
    * format test_shot_branching.py
    
    * Changed OpenMP threading for shot-branching
    
    * mutable to matrix and param buffer
    
    * format
    
    * add target_gpus option
    
    * Remove Python 3.7 from Github actions (Qiskit#1819)
    
    Since 0.13.0, Aer does not support Python 3.7.
    This commit removes github actions for CI.
    
    * Removing python 3.7 from test workflow
    * Removing python 3.7 from build workflow
    * Removing python 3.7 from deploy workflow
    * Removing python 3.7 from tox
    * revert
    * Remove python 3.7 from pyproject.toml
    * Remove python 3.7 from pyproject.toml - tool
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    
    * Fix missing dynamic link path for CUDA runtime and cuQuantum libraries (Qiskit#1877)
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    
    * Fix OpenMP nested parallel (Qiskit#1880)
    
    * Fix OpenMP nested parallel
    
    * add comment in release note
    
    * fix true and false
    
    * fix format
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    
    * Support u3 gate application in Aer runtime API (Qiskit#1876)
    
    * Support u3 gate application
    
    * Apply clang-format
    
    * Revert clang-format for aer_runtime_api.h
    
    * Add release note
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    
    * Fix required_memory_mb (Qiskit#1881)
    
    * Fix required_memory_mb
    
    * add release note
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    
    * format
    
    * format
    
    * format
    
    * comment out target_gpu setting for non-GPU
    
    * comment out target_gpu setting for non-GPU
    
    * Remove `PulseSimulator` (Qiskit#1884)
    
    Since 0.12, Qiskit-Aer notices deprecation warnings to use of PulseSimulato. Because 0.13 will be released after +3 months since 0.12 was released, Qiskit-Aer will stop supports of pulse simulation.
    
    * first pass at removing pulse simulator
    * autoformat with black
    * remove ref to aer pulse in docs
    * fix lint issues
    * remove pulse rst
    * remove pulse tests
    * add release note
    * remove open pulse from CMakeLists.txt
    * remove pulse tests
    * remove remaining pulse codes
    
    ---------
    
    Co-authored-by: AngeloDanducci <angelo.danducci.ii@ibm.com>
    
    * Fix an issue in `aer_state_initialize()` of C API (Qiskit#1885)
    
    Correct C API `aer_state_initialize` to take an argument of `handler`.
    
    * update aer_state_initialize API
    * add reno
    
    * fix MPI shot-branching sampling
    
    * fix unmerged file
    
    * remove conflict
    
    * rerun tests
    
    * recover files
    
    * remove conflict
    
    * fix non-gpu
    
    * update release note
    
    ---------
    
    Co-authored-by: Tung Bui (Leo) <85242618+tungbq@users.noreply.github.com>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: Ryo Wakizaka <135729070+ibm-wakizaka@users.noreply.github.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    Co-authored-by: AngeloDanducci <angelo.danducci.ii@ibm.com>
    6 people authored Aug 9, 2023
    Configuration menu
    Copy the full SHA
    1ea8650 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Implemented ecr for stabilizer simulator. (Qiskit#1892)

    * Implemented ecr for stabilizer simulator.
    
    * Implemented  ecr for stabilizer simulator.
    
    * Adapted to coding style.
    
    * fixed testcode for ecr in stabilizer.
    MarcMaussner authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    e0a9516 View commit details
    Browse the repository at this point in the history
  2. remove deploy documentation to /documentation/aer (Qiskit#1891)

    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    1ucian0 and mergify[bot] authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    1395b4c View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. correct bit ordering in measure of state_controller (Qiskit#1898)

    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    hhorii and doichanj authored Aug 24, 2023
    Configuration menu
    Copy the full SHA
    aa47373 View commit details
    Browse the repository at this point in the history
  2. Change the the existing CUDA implementation to a generic GPU implemen…

    …tation. (Qiskit#1903)
    
    * Add Eclipse IDE project files to .gitignore.
    
    * Change existing CUDA implementation to reflect a generic GPU.
    
    * Fix formatting.
    
    * Cancel .gitignore changes for Eclipse IDE.
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    sfantao and doichanj authored Aug 24, 2023
    Configuration menu
    Copy the full SHA
    30d7d70 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Fix errors coming from deprecations in recent NumPy versions. (Qiskit…

    …#1904)
    
    * Add Eclipse IDE project files to .gitignore.
    
    * Change existing CUDA implementation to reflect a generic GPU.
    
    * Correct NumPy deprecation warnings.
    
    * Fix formatting.
    
    * Cancel .gitignore changes for Eclipse IDE.
    
    * Rebase without CUDA refactor changes.
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    sfantao and doichanj authored Aug 25, 2023
    Configuration menu
    Copy the full SHA
    f042998 View commit details
    Browse the repository at this point in the history
  2. Fix noise model construction for a backend with no T2 value for a qub…

    …it (Qiskit#1912)
    
    * Fix a bug failing to create device gate errors when t2==None while t1!=None for a qubit.
    
    * Add reno
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    itoko and doichanj authored Aug 25, 2023
    Configuration menu
    Copy the full SHA
    2b5fd6f View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Make vector allocation aligned to 64-bytes (Qiskit#1909)

    * Make vector allocation aligned to 64-bytes as that is the same alignement requirement used by State data.
    
    * Add release note.
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    sfantao and doichanj authored Aug 31, 2023
    Configuration menu
    Copy the full SHA
    50854be View commit details
    Browse the repository at this point in the history
  2. Define environment variable to allow Qiskit-Aer to be built without C…

    …UDA requirements (Qiskit#1910)
    
    * Define enviorment variable to allow Qiskit-Aer to be built without CUDA requirements.
    
    * Add release note.
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    sfantao and doichanj authored Aug 31, 2023
    Configuration menu
    Copy the full SHA
    db01dc3 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. For Qiskit#1905 and https://gith… (Qiskit#1907)

    * For Qiskit#1905 and Qiskit#1906
    
    * formatting
    
    * Hopefully clang likes it now
    
    * Now with clang run on it, hopefully it's fine.
    
    * Removed prelude section in release note
    
    * Removed prelude section in release notes
    aromanro authored Sep 4, 2023
    Configuration menu
    Copy the full SHA
    57c921f View commit details
    Browse the repository at this point in the history
  2. Enable ROCm target based on existing CUDA/Thrust implementation. (Qis…

    …kit#1914)
    
    * Add Eclipse IDE project files to .gitignore.
    
    * Change existing CUDA implementation to reflect a generic GPU.
    
    * Add AMD GPU support through ROCm.
    
    * Add release node.
    
    * Update ROCm release note.
    
    * Fix formatting.
    
    * Fix formatting.
    
    * Cancel .gitignore changes for Eclipse IDE.
    
    * Fix missing definition caused by change of header include ordering.
    
    * Define enviorment variable to allow Qiskit-Aer to be built without CUDA requirements.
    
    * Make vector allocation aligned to 64-bytes as that is the same alignement requirement used by State data.
    
    * Fix typos and remove changes going in separate PRs.
    
    * Fix lint error and rename release notes file.
    
    * Add partial release note to debug docs build.
    
    * Fix parsing of release note.
    
    * Add release note.
    
    * Revert "Add release note."
    
    This reverts commit f07234e.
    
    * Update CONTRIBUTING.md
    
    Add ROCm build instructions.
    
    * Update add-rocm-support-db991e3c2f2ca455.yaml
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    sfantao and doichanj authored Sep 4, 2023
    Configuration menu
    Copy the full SHA
    1131a0f View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Fix for Qiskit#1925 (Aer runtime… (Qiskit#1926)

    * Fix for Qiskit#1925 (Aer runtime api (from contrib) exposes the wrong sx operation)
    
    * Changed as advised in Qiskit#1926 (review)
    aromanro authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    8662076 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Fix measure in stabilizer method (Qiskit#1895)

    * Fix measure in stabilizer
    
    * add test case for measuring stabilizer
    
    ---------
    
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    doichanj and hhorii authored Sep 7, 2023
    Configuration menu
    Copy the full SHA
    816fd55 View commit details
    Browse the repository at this point in the history
  2. Fix for Qiskit#1918 (Qiskit#1922)

    * Fix for Qiskit#1918
    
    * Removed prelude section in release note
    aromanro authored Sep 7, 2023
    Configuration menu
    Copy the full SHA
    c501bd4 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Fix required_memory_mb for MPS and extended stabilizer (Qiskit#1933)

    * Fix required_memory_mb for MPS and extended stabilizer
    
    * requried_memory_mb calculates everytime, so added Config to some functions calling requried_memory_mb
    doichanj authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    7621b1c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Add rotation gates to stabilizer (Qiskit#1938)

    * Add rotation gates to stabilizer
    
    * format tests
    
    * set method=statevctor to sample tests
    
    * set method=statevector to Estimator test, fix ry gate
    
    * format test
    doichanj authored Sep 19, 2023
    Configuration menu
    Copy the full SHA
    676d37b View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Fix incorrect excited state population when building noise model from…

    … BackendV2 (Qiskit#1939)
    
    * Add test to fix 1937
    
    * Fix incorrect computation of excited state population
    
    * Fix lint
    
    * Add reno
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    itoko and doichanj authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    f0b9c06 View commit details
    Browse the repository at this point in the history
  2. Improve performance of sampler experiment (Qiskit#1935)

    * Improve performance of sampler parameter-binds
    
    * lint
    
    * fix order
    
    * add reno
    
    * refactor
    
    * Update releasenotes/notes/sampler-performance-81e1649ec4657aad.yaml
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    ikkoham and doichanj authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    30d5642 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Fix the order bug in Estimator (Qiskit#1936)

    * Fix the order bug
    
    * add reno
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    ikkoham and doichanj authored Sep 27, 2023
    Configuration menu
    Copy the full SHA
    451b56f View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Configuration menu
    Copy the full SHA
    94aca21 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. move travis file to gha in the README (Qiskit#1943)

    * change the badge from travis to gha
    
    * add build
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    1ucian0 and doichanj authored Oct 2, 2023
    Configuration menu
    Copy the full SHA
    7321307 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d5a217 View commit details
    Browse the repository at this point in the history
  3. Fix usage of QuantumCircuit.id (Qiskit#1945)

    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    Cryoris and doichanj authored Oct 2, 2023
    Configuration menu
    Copy the full SHA
    13370ba View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Implementing runtime parameter binding (Qiskit#1901)

    Optimizes GPU simulation for single circuit with multiple parameters by binding parameters
    to each gates at runtime on a single circuit with multiple shots of simulations. 
    This feature is enabled by a new option ``runtime_parameter_bind_enable=True`` (Default is ``False``).
    
    * Implementing runtime parameter binding
    * remove old files
    * fix seg fault caused by global phase for parameters
    * delete duplicate max_matrix_qubits
    * Correct metadata for runtime param bind configs and move time_taken to metadata so that we can read time info from primitives
    * performance improvement of sampling measure for runtime parameter binding
    * fix error for MPI
    * Improve batched sampling measure
    * format
    * fix OpenMP nested parallel
    * reflecting review comments
    * fix lint
    * fix lint
    doichanj authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    67b8dcf View commit details
    Browse the repository at this point in the history
  2. Implementation and test of QuantumError.from_dict. (Qiskit#1942)

    * Implementation and test of QuantumError.from_dict.
    
    * Made code lint warning free.
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    MarcMaussner and doichanj authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    92e16f7 View commit details
    Browse the repository at this point in the history
  3. preparing release 0.13.0

    doichanj committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    ac3471b View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. enable c_if for reset and raise exception if instruction does not s…

    …upport `c_if` (Qiskit#1868)
    
    * enable c_if for reset and raise exception if instruction does not support c_if
    
    * add reno
    
    * use correct conditional_reg for reset
    
    * support c_if for diagonal
    hhorii authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    8818d6b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2215e17 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb15925 View commit details
    Browse the repository at this point in the history
  4. Add test case to serialize result of simulation (Qiskit#1869)

    * add test case to serialize result of simulation
    
    * add pickle comparison
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    hhorii and doichanj authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    a16ff77 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1f50826 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Support Expr that Terra 0.24 newly introduced (Qiskit#1915)

    * initial commit for classical expressions
    
    * add classical expression in C++ and its binding
    
    * Implemented ecr for stabilizer simulator. (Qiskit#1892)
    
    * Implemented ecr for stabilizer simulator.
    
    * Implemented  ecr for stabilizer simulator.
    
    * Adapted to coding style.
    
    * fixed testcode for ecr in stabilizer.
    
    * remove deploy documentation to /documentation/aer (Qiskit#1891)
    
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    
    * support classical expression evaluation for branches
    
    * fix lint errors
    
    * change Expr to CExpr
    
    * resolve lint errors
    
    * suppprt expr for batched shot GPU
    
    * use ExprVisitor in AerCompiler to traverse nodes in Expr
    
    * fix lint issues
    
    * use accept method instead of custom visit method for ExprVisitor in aer_compiler
    
    * fix lint errors
    
    * refactor aer_compiler
    
    * Update releasenotes/notes/support_classical_expr-dd621e5c0fd23a15.yaml
    
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    
    * replace expr rather than modiyfing expr.var
    
    * fix lint error
    
    ---------
    
    Co-authored-by: MarcMaussner <114133362+MarcMaussner@users.noreply.github.com>
    Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    Co-authored-by: Jake Lishman <jake@binhbar.com>
    6 people authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    2dd1d45 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d8ca3d View commit details
    Browse the repository at this point in the history
  3. add Python 3.12

    doichanj committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    ea52177 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Configuration menu
    Copy the full SHA
    f282c53 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Move methods into class pages for docs (Qiskit#1958)

    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    arnaucasau and doichanj authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    3bef462 View commit details
    Browse the repository at this point in the history
  2. Update Sphinx theme (Qiskit#1946)

    * Update Sphinx theme
    
    * importlib-metadata constraint removed
    
    * Update conf.py
    
    ---------
    
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    arnaucasau and doichanj authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    ff03a7d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d4fd35c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    07f81dd View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Fix shared publisher

    doichanj committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    ad94cf7 View commit details
    Browse the repository at this point in the history
  2. fix pyproject.toml

    doichanj committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    3e914a5 View commit details
    Browse the repository at this point in the history
  3. Add test for unreleased Qiskit (Qiskit#1950)

    * add tests for unreleased Qiskit
    
    * Update .github/workflows/tests.yml
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    
    * Scheduled test for latest Qiskit
    
    * run latest Qiskit test at push
    
    * fix test
    
    * fix qiskit test again
    
    * fix test case for runtime parameter binding
    
    * remove on push/pull request from latest Qiskit unit test
    
    ---------
    
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    doichanj and mtreinish authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    77ca57c View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. Configuration menu
    Copy the full SHA
    02506b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd7e0c4 View commit details
    Browse the repository at this point in the history
  3. merge upstream

    doichanj committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    2b96181 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    1823441 View commit details
    Browse the repository at this point in the history
  2. Deprecate approximation option in Estimator (Qiskit#1963)

    * Deprecate approximation
    
    * fix tests
    ikkoham authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    fd5e283 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d647d11 View commit details
    Browse the repository at this point in the history
  4. Fix templates documentation (Qiskit#1961)

    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    arnaucasau and doichanj authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    3dc4504 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    86f8fc0 View commit details
    Browse the repository at this point in the history
  6. fix required qiskit version

    doichanj committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    d9960f9 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Support BackendV2 (Qiskit#1875)

    * Support backendv2
    
    * Change API of aerbackend init
    
    * fix lint
    
    * Fix lint
    
    * Add reset gate
    
    * Return None if the configuration does not have max_experiments
    
    * Change function to constant
    
    * Update code to pass the test
    
    * Remove print
    
    * Fix lint
    
    * Change num of qubits in Estimator
    
    * Skip transpilation
    
    * Change transpile optimization level
    
    * Add release notes
    
    * Change process of cirucit compose by the number of qubits in estimator
    
    * use passmanager for measurement circuits
    
    * refactor (change line order)
    
    * Fix lint
    
    * Add a detail description to the release note
    
    ---------
    
    Co-authored-by: ikkoham <ikkoham@users.noreply.github.com>
    Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
    5 people authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    cfe67ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe53b4a View commit details
    Browse the repository at this point in the history
  3. [rebranding] Qiskit Aer is now Aer (Qiskit#1954)

    Co-authored-by: Jun Doi <doichan@jp.ibm.com>
    1ucian0 and doichanj authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    d9ec58d View commit details
    Browse the repository at this point in the history
  4. resolve conflict

    doichanj committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    66abcf8 View commit details
    Browse the repository at this point in the history
  5. add prelude for the release

    doichanj committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    36857ae View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    edeedd6 View commit details
    Browse the repository at this point in the history
  7. move releasenotes

    doichanj committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    1af0249 View commit details
    Browse the repository at this point in the history