Comments (2)
Hmm, that's interesting. I was sure it's a side effect of different versions or different tools that people use to edit the notebooks, rather than something specific to the content of the notebooks. I've noticed before that people editing notebooks would introduce the cell ids, but once I edit them on my setup, the ids would go away again. The BasicGates workbook from your example does not have cell ids despite being on version 4.5, because I was the last person to edit it and my installed version of nbformat
is 4.4.0.
That being said, I'm happy to test this hypothesis by downgrading the version in the notebooks to 4.4 :-) It shouldn't break anything - I think everybody can edit the notebooks with any version of tools installed regardless of the version in the notebooks.
from quantumkatas.
Yes @tcNickolas, you are right. Interestingly, my local machine is on nbformat 5.4
. My guess is that jupyter does the following:
- For brand new notebooks, jupyter stores the local version of nbformat in notebook.
- For notebboks that already exists, it does not oveeride the versions but tries to use it as a baseline
- for older notebooks <4.5, it does not generate cell id
- for notebooks that specify nbformat>4.5, if locally we have nbformat >= 4.5 with no ids in notebook, it tries to generate ids.
- for notebooks that specify nbformat>4.5, if locally we have nbformat <4.5 then it removes the generated ids because it does not recognise that field.
This might be the reason for the disperancy. I have validated locally that after this change, I am not facing the issue. So, hopefully other contributors should also not face this issues post fix. Fingers crossed. :-)
Here is the PR with nbformat version downgraded to 4.4 as per your suggestion : #825
from quantumkatas.
Related Issues (20)
- Sample solutions for task 1.14 of the Superposition katas. HOT 2
- Mistake in multi-qubit measurement tutorial exercise 2 calculations. HOT 1
- Enable tests that are currently excluded with multicell solution tag HOT 2
- [MultiQubitSystemMeasurements] Add code to Exercise 2 solution to show state in Pauli X basis HOT 2
- Fix math mode rendering in browser HOT 5
- Task 1.15 in Measurements Kata says two states are orthogonal. HOT 2
- Exercise 5 for RandomNumberGenerationTutorial - slightly cleaner solution HOT 4
- QFT Question HOT 9
- Late introduction of `ControlledOnInt` operation HOT 4
- Validate only changed katas…
- %kata magic doesn't work with lambda expressions HOT 1
- O(1) time complexity solution to Oracles tutorial, task 4.2 HOT 9
- Add error-free arbitrary state transmission demo to QEC_BitFlipCode kata HOT 7
- docker image creation is stuck HOT 1
- Add Memory Management Tutorials and Concepts HOT 1
- Systems of Equations not properly explained HOT 1
- BasicGates kata task 1.6 PhaseChange fails
- Docker Build Failing HOT 1
- getting issue in exit command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quantumkatas.