[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ITP: python3-qutip-{core,qip,qtrl,qoc}, python-qutip-core-{core,qip,qtrl,qoc}



Hello Drew,

I think this should solve all our issues.  In short:

  * No migration

  * Trixie version needs to be (<< 5.1.1-50)

  * Forky starts with python-qutip version 5.1.1-50

  * Forky starts with a new source package `python-qutip` for binary
    packages `python3-qutip` and `python-qutip-doc`.

The source-binary package mapping looks like:

----------------------------------------------------------------------
-- Trixie

source package        version                 binary package

qutip                 5.1.1-2+really4.7.5     python3-qutip
                                              python-qutip-doc

----------------------------------------------------------------------
-- Forky

source package        version                 binary package

python-qutip          5.1.1-50                python3-qutip
                                              python-qutip-doc

python-qutip-qip      0.4.0                   python3-qutip-qip
                                              python-qutip-qip-doc

python-qutip-qtrl     0.1.5                   python3-qutip-qtrl
                                              python-qutip-qtrl-doc

python-qutip-qoc      0.1.1                   python3-qutip-qoc
                                              python-qutip-qoc-doc

----------------------------------------------------------------------

The setup of the new source package `python-qutip` is not really
required, but it is my first package and I like to build it up from
scratch.  Additionally I'm not happy with the branch structure of the
Git-repository `qutip`.

Instead, for the Git-repository `python-qutip` I plan to use a clone
of the upstream Git-repository configured with 2 Git-remotes: origin
and upstream.  Instead of importing new tarballs into the branch
`upstream` it is just needed to pull the master branch from the
Git-remote `upstream`.  Then the Git-tag `vX.Y.Z` can be duplicated as
Git-tag `upstream/X.Y.Z`.  Followed by a merge into the Git-branch
`debian` which is the default branch of the Git-repository.  After
adapting `debian/changelog`, etc Git-tag `debian/x.y.z-revision` can
be set.

Currently I need to find out, which tools are the best for this
workflow, as normally the tarball `python-qutip_5.1.1.origin.tar.gz`
is just a copy of `python-qutip-5.1.1.tar.gz`.  Maybe
`git-buildpackage` is the tool I´m searching for.

I will close ITP Bug#1101766 for `python3-qutip-core` as 'Not needed
to package.'

Greets,
Dirk =)


On 3/31/25 6:11 PM, Dirk Lehmann wrote:
Hey Debian Science Team =D

in the next hour/s I will report 8 ITPs for the new QuTiP packages to
WNPP.  As the Debian Science Policy directs, I will

   * X-Debbugs-Cc: <debian-science@lists.debian.org>

Please DO NOT consider it as spam.  To <debian-devel@lists.debian.org>
I will just send a summary subsequently.

You can review the ITPs at the end of this email in advance.

Greets,
Dirk =)


**********************************************************************

* Package name    : python3-qutip-core
   Version         : 5.1.1
   Upstream Contact: https://github.com/qutip/qutip/discussions
* URL             : https://qutip.org/
* License         : BSD-3-Clause
   Programming Lang: Python
   Description     : QuTiP: Quantum Toolbox in Python (core)

  QuTiP is open-source software for simulating the dynamics of open
  quantum systems. The QuTiP library depends on the excellent Numpy,
  Scipy, and Cython numerical packages. In addition, graphical output
  is provided by Matplotlib. QuTiP aims to provide user-friendly and
  efficient numerical simulations of a wide variety of Hamiltonians,
  including those with arbitrary time-dependence, commonly found in a
  wide range of physics applications such as quantum optics, trapped
  ions, superconducting circuits, and quantum nanomechanical
  resonators.
  .
  This package installs the library `qutip` for Python 3.

* Package name    : python-qutip-core-doc
   Version         : 5.1.1
   Upstream Contact: https://github.com/qutip/qutip/discussions
* URL             : https://qutip.org/documentation.html
* License         : BSD-3-Clause
   Programming Lang: Python
   Description     : QuTiP: Quantum Toolbox in Python (documentation)

  QuTiP is open-source software for simulating the dynamics of open
  quantum systems. The QuTiP library depends on the excellent Numpy,
  Scipy, and Cython numerical packages. In addition, graphical output
  is provided by Matplotlib. QuTiP aims to provide user-friendly and
  efficient numerical simulations of a wide variety of Hamiltonians,
  including those with arbitrary time-dependence, commonly found in a
  wide range of physics applications such as quantum optics, trapped
  ions, superconducting circuits, and quantum nanomechanical
  resonators.
  .
  This package contains the documentation for `python-qutip-core`.

**********************************************************************

* Package name    : python3-qutip-qip
   Version         : 0.4.0
   Upstream Contact: https://github.com/qutip/qutip-qip/discussions
* URL             : https://qutip.org/
* License         : BSD-3-Clause
   Programming Lang: Python
   Description     : QuTiP package - Quantum Information Processing

  The qutip-qip package, QuTiP quantum information processing, aims at
  providing basic tools for quantum computing simulation both for
  simple quantum algorithm design and for experimental
  realization. Compared to other libraries for quantum information
  processing, qutip-qip puts additional emphasis on the physics layer
  and the interaction with the QuTiP core package
  `python3-qutip-core`. The package offers two different approaches for
  simulating quantum circuits, one with QubitCircuit calculating
  unitary evolution under quantum gates by matrix product, another
  called Processor using open system solvers in QuTiP to simulate noisy
  quantum device.
  .
  This package installs the library `qutip_qip` for Python 3.

* Package name    : python-qutip-qip-doc
   Version         : 0.4.0
   Upstream Contact: https://github.com/qutip/qutip-qip/discussions
* URL             : https://qutip-qip.readthedocs.io/
* License         : BSD-3-Clause
   Programming Lang: Python
  Description     : QuTiP package - Quantum Information Processing (documentation)

  The qutip-qip package, QuTiP quantum information processing, aims at
  providing basic tools for quantum computing simulation both for
  simple quantum algorithm design and for experimental
  realization. Compared to other libraries for quantum information
  processing, qutip-qip puts additional emphasis on the physics layer
  and the interaction with the QuTiP core package
  `python3-qutip-core`. The package offers two different approaches for
  simulating quantum circuits, one with QubitCircuit calculating
  unitary evolution under quantum gates by matrix product, another
  called Processor using open system solvers in QuTiP to simulate noisy
  quantum device.
  .
  This package contains the documentation for `python3-qutip-qip`.

**********************************************************************

* Package name    : python3-qutip-qtrl
   Version         : 0.1.5
   Upstream Contact: https://github.com/qutip/qutip-qtrl/issues
* URL             : https://qutip.org/
* License         : BSD-3-Clause
   Programming Lang: Python
   Description     : QuTiP package - Quantum Optimal Control

  The qutip-qtrl package, QuTiP quantum optimal control, aims at
  providing advanced tools for the optimal control of quantum
  devices. Compared to other libraries for quantum optimal control,
  qutip-qtrl puts additional emphasis on the physics layer and the
  interaction with the QuTiP core package `python3-qutip-core`. The
  package offers support for both the CRAB and GRAPE methods.
  .
  This package installs the library `qutip_qtrl` for Python 3.

* Package name    : python-qutip-qtrl-doc
   Version         : 0.1.5
   Upstream Contact: https://github.com/qutip/qutip-qtrl/issues
* URL             : https://qutip-qtrl.readthedocs.io/
* License         : BSD-3-Clause
   Programming Lang: Python
  Description     : QuTiP package - Quantum Optimal Control (documentation)

  The qutip-qtrl package, QuTiP quantum optimal control, aims at
  providing advanced tools for the optimal control of quantum
  devices. Compared to other libraries for quantum optimal control,
  qutip-qtrl puts additional emphasis on the physics layer and the
  interaction with the QuTiP core package `python3-qutip-core`. The
  package offers support for both the CRAB and GRAPE methods.
  .
  This package contains the documentation for `python3-qutip-qtrl`.

**********************************************************************

* Package name    : python3-qutip-qoc
   Version         : 0.1.1
   Upstream Contact: https://github.com/qutip/qutip-qoc/issues
* URL             : https://qutip.org/
* License         : BSD-3-Clause
   Programming Lang: Python
   Description     : QuTiP package - Advanced Quantum Optimal Control

  The qutip-qoc package builds up on the `python3-qutip-qtrl` package.
  .
  It enhances it by providing two additional algorithms to optimize
  analytically defined control functions. The first one is an extension
  of Gradient Optimization of Analytic conTrols (GOAT). The second one
  (JOPT) leverages QuTiPs version 5 new diffrax abilities to directly
  calculate gradients of JAX defined control functions using automatic
  differentiation.
  .
  The package also aims for a more general way of defining control
  problems with QuTiP and makes switching between the four control
  algorithms (GOAT, JOPT, and GRAPE and CRAB implemented in qutip-qtrl)
  very easy.
  .
  This package installs the library `qutip_qoc` for Python 3.

* Package name    : python-qutip-qoc-doc
   Version         : 0.1.1
   Upstream Contact: https://github.com/qutip/qutip-qoc/issues
* URL             : https://qutip-qoc.readthedocs.io/
* License         : BSD-3-Clause
   Programming Lang: Python
  Description     : QuTiP package - Advanced Quantum Optimal Control (documentation)

  The qutip-qoc package builds up on the `python3-qutip-qtrl` package.
  .
  It enhances it by providing two additional algorithms to optimize
  analytically defined control functions. The first one is an extension
  of Gradient Optimization of Analytic conTrols (GOAT). The second one
  (JOPT) leverages QuTiPs version 5 new diffrax abilities to directly
  calculate gradients of JAX defined control functions using automatic
  differentiation.
  .
  The package also aims for a more general way of defining control
  problems with QuTiP and makes switching between the four control
  algorithms (GOAT, JOPT, and GRAPE and CRAB implemented in qutip-qtrl)
  very easy.
  .
  This package contains the documentation for `python3-qutip-qoc`.

**********************************************************************


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: