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

Choosing Nodes to Make a Stabilizer #1

Closed
ghost opened this issue Jun 21, 2021 · 3 comments
Closed

Choosing Nodes to Make a Stabilizer #1

ghost opened this issue Jun 21, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 21, 2021

-- Choose library to create shapes/lines for graph
-- Allow user to choose shapes on board to create stabilizer

@ghost ghost assigned ghost and rachelwang5 Jun 21, 2021
@dsvandet
Copy link
Collaborator

Expand to be able to create stabilizer or gauge operators

@ghost
Copy link
Author

ghost commented Jun 22, 2021

What does 'expand' mean? A popup window with options to define as either a gauge or a stab?

@dsvandet
Copy link
Collaborator

Yes. A stabilizer is a gauge operator that is in the center of the group that is defining the subsystem. So all faces will represent gauge operators but only some of those will be stabilizers. So a user will choose a set of vertices and then decide if they are to be a stabilizer or just a gauge operator. There are two possibilities here: One the user simply sets the gauge operators and the framework determines which are the stabilizers (i.e. calculates the center) or the user decides. In the second case what the user defines may not fully specify a subsystem code with the stabilizers that they have elected. In this case information will be provided to help rectify the situation.

@ghost ghost closed this as completed Sep 30, 2021
quantumjim added a commit that referenced this issue Feb 1, 2022
quantumjim pushed a commit that referenced this issue Apr 13, 2023
* Update css_code.py

* Update css_code.py

* Update css_code.py
grace-harper pushed a commit that referenced this issue Jun 9, 2023
* Code circuit builder -> integrate stim (#340)

* create CodeCircuit class (#329) (#332)

* create CodeCircuit class

* add more detail to init

* add default is_cluster_neutral

* add css code circuit

* Adding two methods: 'to_stim_circuit' and 'get_counts_via_stim' (#1)

* Update css_code.py

* Update css_code.py

* Update css_code.py

* stim integration in the CssCodeCircuit class (#341)

* Update css_code.py

* Update css_code.py

* Update css_code.py

* add stim

* separate stim functions from class

* move stim tools to utils

* black and lint

* document stim tools

* document stim tools

* add general noisification of circuits

* add support for StabSubsystemCode

* conflict avoidance

* Update __init__.py

* fix conflict

* complete StabSubsystem compatibility

* Stim DecodingGraph (#356)

* decoding graph via stim

New methods: 
1) 'stim_circuit_with_detectors' converts the qiskit circuit to stim and appends detectors
2) '_make_syndrome_graph' creates a rustworkx graph and hyper edge list to be passed onto the DecodingGraph class

* qiskit style decoding graph from stim circuit

New function: 'detector_error_model_to_rx_graph' creates a qiskit style decoding graph from a stim circuit

* Update decoding_graph_attributes.py

* undo conflict fix

* undo conflict resolution (#358)

* Test (for CSS codes), black, lint, py39 tests (#361)

* black + lint

* Add files via upload

* Update stim_tools.py

* Update css_code.py

* Grace's change requests (#363)

1) stim repeat block is still needed
2) specify what noise model means

* per review

* Documentation and functions (#374)

* fix linting issues

---------

Co-authored-by: hetenyib <55080156+hetenyib@users.noreply.github.com>
grace-harper added a commit that referenced this issue Sep 20, 2023
#378)

* Migration from QasmSimulator to qiskit_aer's AerSimulator

* eliminate execute from imports (#1)

* remove execute import from faultsampler.py

* remove execute imports from faultenumerator.py

* remove execute import from test_heavy_hex_decoder.py

* remove execute import from test_repetitionmatcher.py

* remove execute import from test_circuitmatcher.py

---------

Co-authored-by: grace-harper <119029214+grace-harper@users.noreply.github.com>
grace-harper pushed a commit that referenced this issue Oct 2, 2023
* Code circuit builder -> integrate stim (#340)

* create CodeCircuit class (#329) (#332)

* create CodeCircuit class

* add more detail to init

* add default is_cluster_neutral

* add css code circuit

* Adding two methods: 'to_stim_circuit' and 'get_counts_via_stim' (#1)

* Update css_code.py

* Update css_code.py

* Update css_code.py

* stim integration in the CssCodeCircuit class (#341)

* Update css_code.py

* Update css_code.py

* Update css_code.py

* add stim

* separate stim functions from class

* move stim tools to utils

* black and lint

* document stim tools

* document stim tools

* add general noisification of circuits

* add support for StabSubsystemCode

* conflict avoidance

* Update __init__.py

* fix conflict

* complete StabSubsystem compatibility

* Stim DecodingGraph (#356)

* decoding graph via stim

New methods: 
1) 'stim_circuit_with_detectors' converts the qiskit circuit to stim and appends detectors
2) '_make_syndrome_graph' creates a rustworkx graph and hyper edge list to be passed onto the DecodingGraph class

* qiskit style decoding graph from stim circuit

New function: 'detector_error_model_to_rx_graph' creates a qiskit style decoding graph from a stim circuit

* Update decoding_graph_attributes.py

* undo conflict fix

* undo conflict resolution (#358)

* Test (for CSS codes), black, lint, py39 tests (#361)

* black + lint

* Add files via upload

* Update stim_tools.py

* Update css_code.py

* Grace's change requests (#363)

1) stim repeat block is still needed
2) specify what noise model means

* per review

* Documentation and functions (#374)

* fix linting issues

---------

Co-authored-by: hetenyib <55080156+hetenyib@users.noreply.github.com>
grace-harper added a commit that referenced this issue Oct 2, 2023
#378)

* Migration from QasmSimulator to qiskit_aer's AerSimulator

* eliminate execute from imports (#1)

* remove execute import from faultsampler.py

* remove execute imports from faultenumerator.py

* remove execute import from test_heavy_hex_decoder.py

* remove execute import from test_repetitionmatcher.py

* remove execute import from test_circuitmatcher.py

---------

Co-authored-by: grace-harper <119029214+grace-harper@users.noreply.github.com>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants