kinianlo

Results 7 comments of kinianlo

Given a pregroup diagram (all words at the top), there is a brute force way: 1. Separate the words from the contractions (the cups) in the original diagram. We put...

I am having exactly the same issues. I tried to disable Markdown+Math and the syntax highlighting was back to normal. It appears that the vscode has the correct [built-in grammar](https://github.com/microsoft/vscode/tree/main/extensions/markdown-math/syntaxes)...

> Thanks for the report. Can you give this issue a meaningful title? Currently it is `BUG:`. Thanks! Title updated.

I have done some digging into the problem. By inspecting the stack trace: ```python-traceback Traceback (most recent call last): File "/Users/kinianlo/github/pandas/scripts/debug.py", line 19, in pd.read_parquet('ex.parquet', engine='auto') File "/Users/kinianlo/.pyenv/versions/3.10.13/lib/python3.10/site-packages/pandas/io/parquet.py", line 670,...

After some further digging, I propose the following two potential solutions: 1) Ensure that the relevant `numpy_type` in the metadata is set to `object` when the dataframe is saved as...

I doubt if any pre-determined renormalisation factor would resolve the issue. See the following example with the `sqrt(2)` factors: ```python from lambeq import BobcatParser from lambeq import AtomicType, IQPAnsatz from...

@dimkart Yes I agree messing things at the tensornetwork level would be dangerous. 1. It seems that `grammar.Spider.apply_functor` forces a spider to be mapped to another spider in the target...