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

Expose quantum Littlewood-Richardson coefficients from lrcalc #14107

Closed
nthiery opened this issue Feb 13, 2013 · 16 comments
Closed

Expose quantum Littlewood-Richardson coefficients from lrcalc #14107

nthiery opened this issue Feb 13, 2013 · 16 comments

Comments

@nthiery
Copy link
Contributor

nthiery commented Feb 13, 2013

Beside Littlewood-Richardson coefficient calculations and fusion
products, Anders Buch's lrcalc C library implements quantum products,
using the rim-hook rewriting rule (this corresponds to cup products in
the cohomology of quantum Grassmanian variety). The latter
functionality needs to be exposed in Sage's interface to lrcalc.

Roadmap:

Change mult to accept a "quantum" argument:

def mult(part1, part2, maxrows=None, level=None, quantum=None):
    """

    ...

    - ``quantum`` -- an element of a ring


    ...

    EXAMPLES::

        sage: var('q')
        sage: mult([1],[2,1],2,2, quantum=q)
        {[2, 2]: 1, []: q}
        sage: mult([2,1],[2,1],2,2, quantum=q)
        {[2]: q, [1,1]: q} 
   """

If quantum is set, then maxrows and level should be
set. Looking at src/mult.c one would just need to call the
quantum_reduce function function on the result of lrcalc's
mult_c. The result is a list of hash tables, each giving one
homogeneous pieces of the result w.r.t. q.

CC: @tscrim

Component: combinatorics

Keywords: days45, lrcalc

Author: Frédéric Chapoton, Travis Scrimshaw

Branch/Commit: 4637407

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/14107

@fchapoton
Copy link
Contributor

Attachment: trac_14107_quantum_coho.patch.gz

@fchapoton
Copy link
Contributor

comment:2

Here is a patch which is not working !

I have been unable to sort things out.

Maybe some Cython expert can help to correct it ?

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@fchapoton
Copy link
Contributor

New commits:

48ec624trac_14107_quantum_coho.patch
d0e9d35trac #14107 branch not working

@fchapoton
Copy link
Contributor

Branch: u/chapoton/14107

@fchapoton
Copy link
Contributor

Commit: d0e9d35

@tscrim
Copy link
Collaborator

tscrim commented Sep 23, 2015

Changed branch from u/chapoton/14107 to u/tscrim/quantum_LR_coeff-14107

@tscrim
Copy link
Collaborator

tscrim commented Sep 23, 2015

Changed commit from d0e9d35 to 37e2e9d

@tscrim
Copy link
Collaborator

tscrim commented Sep 23, 2015

Author: Frédéric Chapoton, Travis Scrimshaw

@tscrim
Copy link
Collaborator

tscrim commented Sep 23, 2015

New commits:

2b012bbMerge branch 'u/chapoton/14107' of trac.sagemath.org:sage into u/tscrim/quantum_LR_coeff-14107
37e2e9dImplementing the quantum product from lrcalc.

@tscrim tscrim modified the milestones: sage-6.4, sage-6.9 Sep 23, 2015
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 23, 2015

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

4637407Implementing the quantum product from lrcalc and some cython cleanup.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 23, 2015

Changed commit from 37e2e9d to 4637407

@tscrim
Copy link
Collaborator

tscrim commented Sep 23, 2015

comment:10

I also added some more explicit cdef/type info, which should result in faster code.

@fchapoton
Copy link
Contributor

comment:11

Thanks a lot Travis.

ok, good to go. Next step would be to wrap that into an algebra.

@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@tscrim
Copy link
Collaborator

tscrim commented Sep 24, 2015

comment:12

Thanks for doing the review. I could finally do this ticket now that I've learned more Cython. I agree that is definitely the next step. Will you be creating said wrapper?

(Sorry, I have to do a Matrix pun: I know CyFu. :P)

@vbraun
Copy link
Member

vbraun commented Sep 25, 2015

Changed branch from u/tscrim/quantum_LR_coeff-14107 to 4637407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants