vscode-remote-fs icon indicating copy to clipboard operation
vscode-remote-fs copied to clipboard

Code outline not working with RemoteFS

Open cdsaenz opened this issue 6 years ago • 2 comments

First, excellent work, love the extension.

Now I'm trying to have a code outline (an indexed way to jump to method or functions, in this case, PHP) and using the RemoteFS extension to open the files directly from my hosting code-outline extension won't parse any symbols. Works locally though. Maybe there's some kind of cache that I can enable for RemoteFS? Thanks a lot!

cdsaenz avatar Jul 03 '18 23:07 cdsaenz

Hi @kt474 @merav-aharoni any update on this?

It seems like the best solution, for now, is to keep using the deprecated qiskit.IBMQ module. When would functionality from there be removed completely? This would be helpful to know so that things don't start breaking unexpectedly.

antalszava avatar May 25 '23 11:05 antalszava

There is an issue with the configuration/coupling map for simulator_extended_stabilizer - I will get it prioritized in the appropriate team

kt474 avatar May 25 '23 15:05 kt474

Note that "simulator_stabilizer" is also affected.

antalszava avatar May 31 '23 16:05 antalszava

Hi @kt474, any updates on this?

antalszava avatar Oct 27 '23 15:10 antalszava

I can confirm this still affects 0.7.3

from qiskit import transpile, QuantumCircuit
from qiskit_ibm_provider import IBMProvider

provider = IBMProvider()
backend = provider.get_backend('simulator_stabilizer')
qc = QuantumCircuit()
transpile(qc, backend)
---------------------------------------------------------------------------
TranspilerError                           Traceback (most recent call last)
<ipython-input-9-01fb77e621f3> in <module>
      1 backend = provider.get_backend('simulator_stabilizer')
      2 qc = QuantumCircuit()
----> 3 transpile(qc, backend)

/qiskit/compiler/transpiler.py in transpile(circuits, backend, basis_gates, inst_map, coupling_map, backend_properties, initial_layout, layout_method, routing_method, translation_method, scheduling_method, instruction_durations, dt, approximation_degree, timing_constraints, seed_transpiler, optimization_level, callback, output_name, unitary_synthesis_method, unitary_synthesis_plugin_config, target, hls_config, init_method, optimization_method, ignore_backend_supplied_default_methods)
    324         _skip_target = True
    325     else:
--> 326         target = getattr(backend, "target", None)
    327 
    328     initial_layout = _parse_initial_layout(initial_layout)

.../qiskit_ibm_provider/ibm_backend.py in target(self)
    320             Target
    321         """
--> 322         return self._get_target()
    323 
    324     def target_history(self, datetime: Optional[python_datetime] = None) -> Target:

.../qiskit_ibm_provider/ibm_backend.py in _get_target(self, datetime, refresh)
    272             api_properties = client.backend_properties(self.name, datetime=datetime)
    273             api_pulse_defaults = client.backend_pulse_defaults(self.name)
--> 274             target = target_from_server_data(
    275                 configuration=self._configuration,
    276                 pulse_defaults=api_pulse_defaults,

.../qiskit_ibm_provider/utils/json_decoder.py in target_from_server_data(configuration, pulse_defaults, properties)
    268             )
    269         else:
--> 270             target.add_instruction(
    271                 instruction=inst_name_map[inst_name],
    272                 properties=prop_name_map.get(inst_name, None),

.../qiskit/transpiler/target.py in add_instruction(self, instruction, properties, name)
    428             for qarg in properties:
    429                 if qarg is not None and len(qarg) != instruction.num_qubits:
--> 430                     raise TranspilerError(
    431                         f"The number of qubits for {instruction} does not match the number "
    432                         f"of qubits in the properties dictionary: {qarg}"

TranspilerError: "The number of qubits for Instruction(name='cy', num_qubits=2, num_clbits=0, params=[]) does not match the number of qubits in the properties dictionary: (0,)"

1ucian0 avatar Dec 14 '23 11:12 1ucian0

@1ucian0 This needs to be fixed on the server side - there is an issue open (ntc 2451), we need to get the right backend configurations

kt474 avatar Dec 14 '23 16:12 kt474