Comments (4)
Currently there isn’t a way to remove qubits. However, I can see this could be useful. Will consider trying to support it.
from jsqubits.
Nice, thanks a lot. I guess this could be seen as a tracing out operation, so implementing a partial trace operation would solve the problem I guess. Thanks!
from jsqubits.
Sorry, it will take at least another week or so before I get back to this. Life has got rather busy.
I agree it could be seen as a "tracing out operation". I don't think it could be a general partial trace or we would have to support mixed states. It could work if you are only allowed to trace out the bits that have the same values in all states I guess, or we tie it to the measurement operation and only allow you to trace out the measured bits. It has been a few years since I looked at this though.
from jsqubits.
from jsqubits.
Related Issues (20)
- Make jsqubits and jsqubitsmath be requirejs friendly
- Improve the objects returned by each() HOT 1
- Fix or remove usages of typeof and instanceof HOT 1
- How about refactor the project to ES6? HOT 1
- Examples don't run out of the box. HOT 5
- Document QState.each() HOT 1
- Publish new npm version HOT 3
- Decide what to do about bower support HOT 1
- dist/commonjs/index.js not found HOT 4
- Update Babel stuff HOT 1
- declaration for TypeScript HOT 8
- Provide easy to use js file (even better: url to include directly) HOT 2
- Document the maths functions
- Fix exceptions to follow a more standard pattern HOT 1
- Allow array of bits anywhere we currently allow a bit range
- Include a 'remainingQbits' field on measurement outcomes.
- Support Complex.getPhase() HOT 1
- QState.eql uses non existent field amplitudes HOT 1
- Make use of js Math constants like Math.SQRT1_2 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 jsqubits.